Retrieves a list of all open orders for a specific currency. Open orders are orders that have been placed but not yet filled or cancelled.
Results can be filtered by instrument kind and order type. This method provides a view of all active orders within a currency.
📖 Related Article: Using the currency Parameter
Scope: trade:read
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/get_open_orders_by_currency
- Authnone declared
Query parameters
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol.
📖 Related Article: Using the currency Parameter
Instrument kind: "future", "option", "spot", "future_combo", "option_combo"
Instrument kind, if not provided instruments of all kinds are considered
Order-type filter, including regular, trigger and linked-order families.
Order type, default - all
Response
Success response
Example response
{
"result": [
{
"order_id": "ETH-100234",
"instrument_name": "BTC-PERPETUAL",
"creation_timestamp": 1536569522277,
"last_update_timestamp": 1536569522277,
"starbase_last_update_timestamp": 1536569522277000000,
"block_trade": true,
"trigger_order_id": "SLIB-370",
"combo_order_id": "103148386169",
"starbase_order_id": 103148386170,
"app_name": "Example Application",
"mmp_cancelled": true,
"oto_order_ids": [
"ETH-100234"
],
"primary_order_id": "ETH-100234"
}
]
}Changes
- info
added the new enum value
one_cancels_or_triggers_otherto thequeryrequest parametertype - info
added the new enum value
one_cancels_otherto thequeryrequest parametertype - info
added the new enum value
one_triggers_one_cancels_otherto thequeryrequest parametertype - info
added the new enum value
one_triggers_otherto thequeryrequest parametertype
- info
- info
added the optional property
//to the response with the status
- info