cancel_all_orders
cancel_all_orders cancel_by
The cancel_all_orders
cancels the active orders created by the Komodo DeFi Framework API node by specified condition.
Structure | Type | Description |
---|---|---|
cancel_by | object | A standard CancelBy object. Orders matching this filter are cancelled. |
Structure | Type | Description |
---|---|---|
cancelled | array of strings (uuids) | uuids of cancelled orders |
currently_matching | array of strings (uuids) | uuids of the orders being matched with other orders; these are not cancelled even if they fit cancel condition |
POST
cancel_all_orders{
"userpass": "RPC_UserP@SSW0RD",
"method": "cancel_all_orders",
"cancel_by": {
"type": "All"
}
}
POST
cancel_all_orders{
"userpass": "RPC_UserP@SSW0RD",
"method": "cancel_all_orders",
"cancel_by": {
"type": "Pair",
"data": {
"base": "DOC",
"rel": "MARTY"
}
}
}
POST
cancel_all_orders{
"userpass": "RPC_UserP@SSW0RD",
"method": "cancel_all_orders",
"cancel_by": {
"type": "Coin",
"data": {
"ticker": "DOC"
}
}
}