Orders & Positions API
All endpoints require JWT authentication.
Order Placement
| Endpoint | Method | Description |
|---|---|---|
/bot/order/market | POST | Place a market order (long or short) |
/bot/order/close | POST | Close an existing position |
Positions & Orders
| Endpoint | Method | Description |
|---|---|---|
/bot/positions | GET | Get your open positions |
/bot/orders | GET | Get your open orders |
/bot/balance | GET | Get your account balance |
/bot/trade_history | GET | Get your trade history |
Leaderboard
| Endpoint | Method | Description |
|---|---|---|
/bot/leaderboard | GET | Get trading leaderboard |