Skip to main content

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

Project description

XTS-LAI

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

Installation

pip install XTS-LAI

Login

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xts_lai-1.0.1.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xts_lai-1.0.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file xts_lai-1.0.1.tar.gz.

File metadata

  • Download URL: xts_lai-1.0.1.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.0

File hashes

Hashes for xts_lai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dded2e49f7c8081a1313ab13af1dbf866135926bd2cc31b1033c75a46700c99a
MD5 2a92a24f56283b70d9f47bdd6cd3f21d
BLAKE2b-256 e2fde726c86643d0399ba0840a241bcc78edf232fd63b116eb7efd7d0bf8303a

See more details on using hashes here.

File details

Details for the file xts_lai-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: xts_lai-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.0

File hashes

Hashes for xts_lai-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57224ee6be0843a63cc4296209201e538d2d8bb831b2f3d1ac6fa7496dc449a5
MD5 1478e8259fcffe7463a6e94be5ea968f
BLAKE2b-256 78c1d7d24836ecea286bf204cfee1994233903e1d911e60b4c60a5d33a93c064

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page