Trading
Place limit order
Changed onCreates a new limit order.
Set post_only to true to ensure the order only adds liquidity. If the order would immediately match an existing order, it is rejected with POST_ONLY_WOULD_CROSS and is not added to the order book.
post/orders
Request
- Base URLhttps://api.altcointrader.co.za
- AuthAPI key in header X-API-KEY and API key in header X-TIMESTAMP and API key in header X-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"market": "BTCZAR",
"side": "buy",
"price": "1020000",
"quantity": "0.01",
"client_order_id": "my-order-1"
}Response
Order created successfully.
Example response
{
"order_id": "order-001",
"client_order_id": "my-order-1",
"market": "BTCZAR",
"side": "buy",
"type": "limit",
"price": "1020000",
"quantity": "10000000",
"filled": "0",
"remaining": "10000000",
"status": "open",
"time_in_force": "GTC",
"post_only": true,
"created_at": 1710000000,
"updated_at": 1710000001,
"cancelled_at": 1710000100
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info