Base URL: https://api.dontrade.io
Endpoints reais: GET /health, GET /audit/rejection-breakdown, GET /audit/execution-funnel, GET /audit/orders.
Chamadas internas e dashboard: header X-Engine-Token. Contacte para acesso à API.
curl -X GET https://api.dontrade.io/health -H "X-Engine-Token: SEU_ENGINE_TOKEN"
POST
Place New Order
Create a new algorithmic trading order via REST API. This endpoint supports advanced order types including limit, market, stop-loss, and trailing stops.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Required | The trading pair symbol (e.g., BTC-USD). |
| side | enum | Required | Order direction. Values: buy, sell. |
| type | enum | Required | Order type. Values: limit, market. |
| quantity | float | Required | Amount of base asset to trade. |
| price | float | Optional | Limit price. Required if type is limit. |
| time_in_force | enum | Optional | Defaults to GTC (Good Till Cancel). |
speed
Rate Limits
This endpoint is limited to 50 requests per second per API key.
Exceeding this limit will result in a 429 Too Many Requests response.
Response Object
Returns the created order object with a unique order_id and current status.