Trading Championship API Documentation

API Endpoints

Endpoint Method Description Parameters
/api/login POST Authenticate and get access token
  • nickname: Your username
  • password: Your password
/api/submit_order POST Submit a new trade order
  • direction: 'B' for Buy or 'S' for Sell
  • secid: Security ID (e.g., 'SBER', 'LKOH')
  • position: Position size (1-200)
  • bot: Your bot's name
/api/trades GET Get today's trades No parameters required
/api/positions GET Get current positions No parameters required

Trading Rules

Trading Hours

07:00 - 15:40

Position Limits

Max position: 100
Position size: 1-200

Daily Limits

Max daily trades: 1000

API Examples

Authentication
curl -X POST https://your-server/api/login \
    -H "Content-Type: application/json" \
    -d '{
        "nickname": "your_username",
        "password": "your_password"
    }'
Submit Trade
curl -X POST https://your-server/api/submit_order \
    -H "Content-Type: application/json" \
    -H "Authorization: YOUR_TOKEN" \
    -d '{
        "direction": "B",
        "secid": "SBER",
        "position": 100,
        "bot": "MyTradingBot"
    }'

Available Securities

SBER LKOH GAZP MOEX T ALRS SNGS