curl --request GET \
--url https://test.deribit.com/api/v2/private/cancel \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 4214,
"method": "private/cancel",
"params": {
"order_id": "ETH-SLIS-12"
}
}
'{
"jsonrpc": "2.0",
"id": 4214,
"result": {
"triggered": false,
"trigger": "index_price",
"time_in_force": "good_til_cancelled",
"trigger_price": 144.73,
"reduce_only": false,
"price": "market_price",
"post_only": false,
"order_type": "stop_market",
"order_state": "untriggered",
"order_id": "ETH-SLIS-12",
"max_show": 5,
"last_update_timestamp": 1550575961291,
"label": "",
"is_rebalance": false,
"is_liquidation": false,
"instrument_name": "ETH-PERPETUAL",
"direction": "sell",
"creation_timestamp": 1550575961291,
"api": false,
"amount": 5
}
}curl --request GET \
--url https://test.deribit.com/api/v2/private/cancel \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 4214,
"method": "private/cancel",
"params": {
"order_id": "ETH-SLIS-12"
}
}
'{
"jsonrpc": "2.0",
"id": 4214,
"result": {
"triggered": false,
"trigger": "index_price",
"time_in_force": "good_til_cancelled",
"trigger_price": 144.73,
"reduce_only": false,
"price": "market_price",
"post_only": false,
"order_type": "stop_market",
"order_state": "untriggered",
"order_id": "ETH-SLIS-12",
"max_show": 5,
"last_update_timestamp": 1550575961291,
"label": "",
"is_rebalance": false,
"is_liquidation": false,
"instrument_name": "ETH-PERPETUAL",
"direction": "sell",
"creation_timestamp": 1550575961291,
"api": false,
"amount": 5
}
}The order id Unique order identifier
"ETH-100234"
Was this page helpful?