Skip to content

Add margin

POST
/v2/futures/add-margin

Add margin to a running trade

Request Body

Body

object
id
required
string format: uuid
amount
required
number
> 0
{
"id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e",
"amount": 1000
}

Responses

200

200

Add margin to a running trade

object
id
required
string
uid
required
string
type
required
string
Allowed values: m 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
required
number
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
{
"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": true,
"canceled": false,
"closed": false,
"last_update_ts": 1629782400000,
"sum_carry_fees": 0
}

400

400