Trading
List order history
Changed onReturns completed, cancelled, rejected, and historical orders.
get/orders/history
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.
Query parameters
marketstring
Filter by market symbol.
status'open' | 'partially_filled' | 'filled' | 'cancelled' | 'rejected'
Filter by order status.
limitinteger
Number of records to return.
pageinteger
Page number to return.
start_timeinteger
Unix timestamp lower bound.
end_timeinteger
Unix timestamp upper bound.
Response
Order history returned 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 optional property
/to the response with the status
- info