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
value
required
number
{ "id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e", "type": "stoploss", "value": 19000}
Responses
200
200
One of:
object
id
required
string format: uuid
uid
required
string format: uuid
type
required
string
side
required
string
opening_fee
required
integer
closing_fee
required
integer
maintenance_margin
required
integer
quantity
required
number
margin
required
integer
leverage
required
number
price
required
number
liquidation
required
number
stoploss
required
number
takeprofit
required
number
exit_price
required
number
pl
required
integer
creation_ts
required
number
market_filled_ts
required
string format: null
closed_ts
required
string format: null
entry_price
required
number
entry_margin
required
integer
open
required
boolean
running
required
boolean
canceled
required
boolean
closed
required
boolean
sum_carry_fees
required
integer
object
id
required
string format: uuid
uid
required
string format: uuid
type
required
string
side
required
string
opening_fee
required
integer
closing_fee
required
integer
maintenance_margin
required
integer
quantity
required
number
margin
required
integer
leverage
required
number
price
required
number
liquidation
required
number
stoploss
required
number
takeprofit
required
number
exit_price
required
number
pl
required
integer
creation_ts
required
number
market_filled_ts
required
number
closed_ts
required
string format: null
entry_price
required
number
entry_margin
required
integer
open
required
boolean
running
required
boolean
canceled
required
boolean
closed
required
boolean
sum_carry_fees
required
integer
400
400