Skip to content

Cancel all trades

DELETE
/v2/futures/all/cancel

Cancel all open trades

Responses

200

200

object
trades
required
Array<object>
object
id
required
string
uid
required
string
type
required
string
Allowed values: l
side
required
string
Allowed values: b s
opening_fee
required
number
closing_fee
required
number
maintenance_margin
required
number
quantity
required
number
margin
required
number
leverage
required
number
price
required
number
liquidation
required
number
stoploss
required
number
takeprofit
required
number
exit_price
number
pl
required
number
creation_ts
required
number
market_filled_ts
closed_ts
required
number
open
required
boolean
running
required
boolean
canceled
required
boolean
closed
required
boolean
last_update_ts
required
number
sum_carry_fees
required
number
entry_price
number
entry_margin
number
{
"trades": [
{
"uid": "821f4a4d-5fad-4cdb-ac89-60d4a1a9795b",
"type": "m",
"id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e",
"side": "b",
"opening_fee": 10,
"closing_fee": 0,
"maintenance_margin": 0,
"quantity": 100,
"margin": 1000,
"leverage": 10,
"price": 20000,
"liquidation": 18000,
"pl": 0,
"creation_ts": 1629782400000,
"market_filled_ts": 1629782400000,
"open": false,
"running": false,
"canceled": true,
"closed": false,
"last_update_ts": 1630200000000,
"sum_carry_fees": 0
}
]
}

400

400