Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 2.98 KB

StockOptionPositionListItem.md

File metadata and controls

41 lines (35 loc) · 2.98 KB

StockOptionPositionListItem

Properties

Name Type Description Notes
symbol String Full option contract symbol. [optional]
symbolDisplay String Option contract name for display. [optional]
underlying String Option underlying symbol. [optional]
side SideEnum Position side. - long: Long position. - short: Short position. [optional]
openTime Long Position opening time as a Unix timestamp in seconds; 0 when unavailable. [optional]
quantity String Position quantity. [optional]
available String Available quantity; currently equal to quantity. [optional]
frozen String Frozen quantity; may be empty when not calculated separately. [optional]
avgEntryPrice String Average entry price. [optional]
lastPrice String Last traded price; 0 when no valid value is available. [optional]
markPrice String Mark price; 0 when no valid value is available. [optional]
previousClose String Previous closing price. If no valid positive value exists, this field may be empty and daily PnL calculation is skipped. [optional]
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]
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]
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]
todayBuyQty String Quantity bought today (user's daily trading totals). [optional]
todaySellQty String Quantity sold today (user's daily trading totals). [optional]
todayBuyValue String Amount bought today (user's daily trading totals). [optional]
todaySellValue String Amount sold today (user's daily trading totals). [optional]
tradeStatus StockOptionTradeStatus [optional]
tradeMode StockOptionTradeMode [optional]
multiplier String Contract multiplier. [optional]
pricePrecision Integer Number of decimal places for prices. [optional]
minOrderVolume String Minimum order quantity. [optional]
maxOrderVolume String Maximum order quantity. [optional]
stepOrderVolume String Order quantity increment. [optional]

Enum: SideEnum

Name Value
LONG "long"
SHORT "short"