Trading Bot
Last updated
Was this helpful?
Proxy endpoints for the automated trading-bot service.
Requires an API key with the TRADING_BOT product scope (enforced on every route in this namespace). See Authentication.
/v1/trading-bot/*Every request under /v1/trading-bot/* is proxied to the internal trading-bot service. The /v1/trading-bot prefix is stripped and the remainder is forwarded as /api/*, preserving the HTTP method, query string, and body.
Example:
# This request:
curl https://api.tokenbot.com/v1/trading-bot/status \
-H "X-API-Key: tb_live_your_key"
# Is proxied to the trading-bot service as:
# GET /api/statusThe trading-bot engine runs on a 15-minute Lambda cycle.
For local operator control (strategies, signals, positions, trades, backtests, emergency-stop), use the embedded tokenbot-trading CLI shipped with the trading bot rather than calling these proxy endpoints directly.
Last updated
Was this helpful?
Was this helpful?