Get Open & Closed Orders
Changed onPrimarily query unfilled or partially filled orders in real-time, but also supports querying recent 500 closed status (Cancelled, Filled) orders. Please see the usage of request param open_only.
Request
- Base URLhttps://api.ekiden.fi
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Symbol name
Order ID
User customised order ID
- true (default): query open status orders (New or PartiallyFilled).
- false: query a maximum of recent 500 closed status orders (Cancelled, Rejected, Filled).
Response
Orders
Example response
{
"list": [
{
"created_time": "1672531200000",
"expire_time": "1672531200000",
"symbol": "BTC-USDCx",
"updated_time": "1672531200000"
}
]
}Changes
- warning
added the new
EcPriceNotMultipleOfTickenum value to the//////response property for the response status - warning
added the new
EcQtyAboveMaxenum value to the//////response property for the response status - warning
added the new
EcQtyBelowMinenum value to the//////response property for the response status - warning
added the new
EcQtyNotMultipleOfLotenum value to the//////response property for the response status - info
removed the
EcEcInvalidQtyenum value from the//////response property for the response status
- warning
- warning
added the new
EcReduceOnlyModeenum value to the//////response property for the response status - warning
added the new
EcTradingHaltedenum value to the//////response property for the response status
- warning