Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 3.57 KB

StockOptionPositionListItem.md

File metadata and controls

40 lines (33 loc) · 3.57 KB

StockOptionPositionListItem

Properties

Name Type Description Notes
symbol string Full option contract symbol. [optional] [default to undefined]
symbolDisplay string Option contract name for display. [optional] [default to undefined]
underlying string Option underlying symbol. [optional] [default to undefined]
side StockOptionPositionListItem.Side Position side. - long: Long position. - short: Short position. [optional] [default to undefined]
openTime number | bigint Position opening time as a Unix timestamp in seconds; 0 when unavailable. [optional] [default to undefined]
quantity string Position quantity. [optional] [default to undefined]
available string Available quantity; currently equal to quantity. [optional] [default to undefined]
frozen string Frozen quantity; may be empty when not calculated separately. [optional] [default to undefined]
avgEntryPrice string Average entry price. [optional] [default to undefined]
lastPrice string Last traded price; 0 when no valid value is available. [optional] [default to undefined]
markPrice string Mark price; 0 when no valid value is available. [optional] [default to undefined]
previousClose string Previous closing price. If no valid positive value exists, this field may be empty and daily PnL calculation is skipped. [optional] [default to undefined]
marketValue string Market value = valuation price × signed position quantity × contract multiplier. The valuation price is selected by `price_type` (`latest` uses last_price; `mark` uses mark_price). [optional] [default to undefined]
unrealizedPnl string Unrealized PnL = (valuation price - average entry price) × signed position quantity × contract multiplier. Returns 0 if the average entry price or quantity is invalid. The valuation price follows the same rules as market_value. [optional] [default to undefined]
todayPnl string Daily PnL for this contract. Requires a valid previous_close; 0 if unavailable. The valuation price follows the same rules as market_value. [optional] [default to undefined]
todayBuyQty string Quantity bought today (user's daily trading totals). [optional] [default to undefined]
todaySellQty string Quantity sold today (user's daily trading totals). [optional] [default to undefined]
todayBuyValue string Amount bought today (user's daily trading totals). [optional] [default to undefined]
todaySellValue string Amount sold today (user's daily trading totals). [optional] [default to undefined]
tradeStatus StockOptionTradeStatus [optional] [default to undefined]
tradeMode StockOptionTradeMode [optional] [default to undefined]
multiplier string Contract multiplier. [optional] [default to undefined]
pricePrecision number Number of decimal places for prices. [optional] [default to undefined]
minOrderVolume string Minimum order quantity. [optional] [default to undefined]
maxOrderVolume string Maximum order quantity. [optional] [default to undefined]
stepOrderVolume string Order quantity increment. [optional] [default to undefined]

Enum: StockOptionPositionListItem.Side

  • Long (value: 'long')

  • Short (value: 'short')