Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (24 loc) · 1.79 KB

Position.md

File metadata and controls

28 lines (24 loc) · 1.79 KB

Position

Properties

Name Type Description Notes
direction str direction, `buy` or `sell`
average_price_usd float Only for options, average price in USD [optional]
estimated_liquidation_price float Only for futures, estimated liquidation price [optional]
floating_profit_loss float Floating profit or loss
floating_profit_loss_usd float Only for options, floating profit or loss in USD [optional]
open_orders_margin float Open orders margin
total_profit_loss float Profit or loss from position
realized_profit_loss float Realized profit or loss [optional]
delta float Delta parameter
initial_margin float Initial margin
size float Position size for futures size in quote currency (e.g. USD), for options size is in base currency (e.g. BTC)
maintenance_margin float Maintenance margin
kind str Instrument kind, `"future"` or `"option"`
mark_price float Current mark price for position's instrument
average_price float Average price of trades that built this position
settlement_price float Last settlement price for position's instrument 0 if instrument wasn't settled yet
index_price float Current index price
instrument_name str Unique instrument identifier
size_currency float Only for futures, position size in base currency [optional]

[Back to Model list] [Back to API list] [Back to README]