Position
exchange: Exchangeβ
Exchange
e.g. Binance
pair: stringβ
Pair name
e.g. BTC/USDT
position_side: stringβ
Position Side
e.g. LONG, SHORT
total_size: floatβ
Total Size
e.g. 1.0
available_size: floatβ
Available Size
When closing a LONG position with a LIMIT order, available size will decrement to prevent over-closing while total size will remain the same before the LIMIT order is FILLED
e.g. 0.5
entry_price: floatβ
Entry price
e.g. 1500
mark_price: floatβ
Mark price (use market price)
e.g. 1500
margin: floatβ
Margin
e.g. 1500
liquidation_price: floatβ
Liquidation price
e.g. 100
profit_and_loss: floatβ
Profit and loss
e.g. 10