For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trading Bot

Proxy endpoints for the automated trading-bot service.

Authentication

Requires an API key with the TRADING_BOT product scope (enforced on every route in this namespace). See Authentication.

Base Path

/v1/trading-bot/*

How It Works

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/status

Notes

  • The 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?