Metadata-Version: 2.1
Name: XTS-LAI
Version: 1.0.1
Summary: LET'S ALGOIT Python SDK for XTS Interactive and Market Data APIs
Author: LET'S ALGOIT Team
License: Proprietary
Project-URL: Homepage, https://letsalgoit.com
Project-URL: Documentation, https://letsalgoit.com
Keywords: XTS,trading,market-data,algorithmic-trading,LetsAlgoIt
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: <3.13,>=3.8
Description-Content-Type: text/markdown
Requires-Dist: rich<15,>=13.7
Requires-Dist: requests<3,>=2.28
Requires-Dist: python-dateutil<3,>=2.8
Requires-Dist: six<2,>=1.16
Requires-Dist: mibian>=0.1.3
Requires-Dist: TA-Lib>=0.4.28
Requires-Dist: openpyxl<4,>=3.0
Requires-Dist: pandas<2.1,>=1.5; python_version == "3.8"
Requires-Dist: numpy<1.25,>=1.23; python_version == "3.8"
Requires-Dist: pandas<3,>=2.0; python_version >= "3.9"
Requires-Dist: numpy<3,>=1.24; python_version >= "3.9"

# XTS-LAI

Official LET'S ALGOIT Python SDK wrapper for XTS Interactive and Market Data APIs.

## Installation

```bash
pip install XTS-LAI
```

## Login

```python
from XTS_LAI import login

xts_lai = login(
    interactive_api_key="YOUR_INTERACTIVE_API_KEY",
    interactive_api_secret="YOUR_INTERACTIVE_API_SECRET",
    market_api_key="YOUR_MARKET_API_KEY",
    market_api_secret="YOUR_MARKET_API_SECRET",
    clientID="YOUR_CLIENT_ID",
)
```

The returned `xts_lai` object provides the SDK functions such as historical data, LTP, OHLC, quotes, order placement, modification, cancellation, expiry lookup, and instrument validation.

## Security

Never commit or publish API keys, secrets, client IDs, PyPI tokens, or broker credentials.

## Complete function usage

The package includes `XTS_codebase_usage.py` with examples for every public SDK function. Live order and Telegram examples are disabled by default.
