Skip to content

Update trade

PUT
/v2/futures

Allows user to modify stoploss or takeprofit on a trade

Request Body

Body

object
id
required
string format: uuid
type
required
string
Allowed values: stoploss takeprofit
value
required
number
{
"id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e",
"type": "stoploss",
"value": 19000
}

Responses

200

200

One of:
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
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

400

400