Skip to content

Latest commit

 

History

History
63 lines (59 loc) · 3.34 KB

Position.md

File metadata and controls

63 lines (59 loc) · 3.34 KB

Position

Properties

Name Type Description Notes
account int [default to 0]
symbol str
currency str [optional]
underlying str [optional]
quote_currency str [optional]
commission float [optional] [default to 0.0]
init_margin_req float [optional] [default to 0.0]
maint_margin_req float [optional] [default to 0.0]
risk_limit int [optional] [default to 0]
leverage float [optional] [default to 0.0]
cross_margin bool [optional]
deleverage_percentile float [optional] [default to 0.0]
rebalanced_pnl int [optional] [default to 0]
prev_realised_pnl int [optional] [default to 0]
prev_unrealised_pnl int [optional] [default to 0]
opening_qty int [optional] [default to 0]
open_order_buy_qty int [optional] [default to 0]
open_order_buy_cost int [optional] [default to 0]
open_order_buy_premium int [optional] [default to 0]
open_order_sell_qty int [optional] [default to 0]
open_order_sell_cost int [optional] [default to 0]
open_order_sell_premium int [optional] [default to 0]
current_qty int [optional] [default to 0]
current_cost int [optional] [default to 0]
current_comm int [optional] [default to 0]
realised_cost int [optional] [default to 0]
unrealised_cost int [optional] [default to 0]
gross_open_premium int [optional] [default to 0]
is_open bool [optional]
mark_price float [optional] [default to 0.0]
mark_value int [optional] [default to 0]
risk_value int [optional] [default to 0]
home_notional float [optional] [default to 0.0]
foreign_notional float [optional] [default to 0.0]
pos_state str [optional]
pos_cost int [optional] [default to 0]
pos_cross int [optional] [default to 0]
pos_comm int [optional] [default to 0]
pos_loss int [optional] [default to 0]
pos_margin int [optional] [default to 0]
pos_maint int [optional] [default to 0]
init_margin int [optional] [default to 0]
maint_margin int [optional] [default to 0]
realised_pnl int [optional] [default to 0]
unrealised_pnl int [optional] [default to 0]
unrealised_pnl_pcnt float [optional] [default to 0.0]
unrealised_roe_pcnt float [optional] [default to 0.0]
avg_cost_price float [optional] [default to 0.0]
avg_entry_price float [optional] [default to 0.0]
break_even_price float [optional] [default to 0.0]
margin_call_price float [optional] [default to 0.0]
liquidation_price float [optional] [default to 0.0]
bankrupt_price float [optional] [default to 0.0]
timestamp datetime [optional]

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