Setup and auth
Use requests for REST or websockets for streaming. Keep API keys in env vars and send X-API-Key. Never commit keys.
Guide
Integrate TIQEX with Python: start with REST quotes/candles, then add WebSocket when you need live ticks.
Use requests for REST or websockets for streaming. Keep API keys in env vars and send X-API-Key. Never commit keys.
Crypto quote: GET /api/v1/market/crypto/quote?symbols=BTCUSDT. US candles: GET /api/v1/market/equity/kline?symbol=AAPL&interval=1d. Success is succ=true with a data payload.
On failure read msg/code; trace with X-Request-Id. Back off on 429 using Retry-After. Cap concurrency for history jobs.
Switch to stream for live data. Full fields live on /docs/api/crypto-quote and /docs/api/equity-kline.
Print data[0].last from one quote, then load ~100 daily bars into a DataFrame before strategy work.