Cash-in
POST
/v2/futures/cash-in
Cash-in (i.e. “remove money”) from a trade. Funds are first removed from the trade’s PL (if any), then from the trade’s margin. Note that cashing-in increases the trade’s leverage ; the whole margin hence isn’t available since leverage is bounded.
Request Body
Body
object
id
required
string format: uuid
amount
required
number
Responses
200
200
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
margin
required
integer
leverage
price
liquidation
stoploss
takeprofit
exit_price
pl
required
integer
creation_ts
market_filled_ts
required
number
closed_ts
required
string format: null
open
required
boolean
running
required
boolean
canceled
required
boolean
closed
required
boolean
last_update_ts
sum_carry_fees
entry_price
entry_margin
required
integer
400
400