Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.51 KB

File metadata and controls

22 lines (18 loc) · 1.51 KB

PositionClose

Properties

Name Type Description Notes
time float Position close time [optional] [readonly]
contract str Futures contract [optional] [readonly]
side str Position side - `long`: Long position - `short`: Short position [optional] [readonly]
pnl str PnL [optional] [readonly]
pnl_pnl str PNL - Position P/L [optional] [readonly]
pnl_fund str PNL - Funding Fees [optional] [readonly]
pnl_fee str PNL - Transaction Fees [optional] [readonly]
text str Source of close order. See `order.text` field for specific values [optional] [readonly]
max_size str Max Trade Size [optional] [readonly]
accum_size str Cumulative closed position volume [optional] [readonly]
first_open_time int First Open Time [optional] [readonly]
long_price str When side is 'long', it indicates the opening average price; when side is 'short', it indicates the closing average price [optional] [readonly]
short_price str When side is 'long', it indicates the closing average price; when side is 'short', it indicates the opening average price [optional] [readonly]

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