Trading Bot API

Build automated trading systems with KEK's Trading Bot API.

What this covers

  • Bot management endpoints
  • Execution controls
  • Monitoring and logs

Endpoints

Bot Management

POST /api/v1/bots/create
GET /api/v1/bots
GET /api/v1/bots/:id
PUT /api/v1/bots/:id
DELETE /api/v1/bots/:id

Execution Control

POST /api/v1/bots/:id/start
POST /api/v1/bots/:id/stop
POST /api/v1/bots/:id/pause

Monitoring

GET /api/v1/bots/:id/status
GET /api/v1/bots/:id/logs
GET /api/v1/bots/:id/performance

Example: Create Bot

curl -X POST "https://api.kek.io/v1/bots/create" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Trading Bot",
    "strategy_id": "strat_abc123",
    "capital_allocation": 1000
  }'