Market Data Fields

View as MarkdownOpen in Claude
FieldReturn TypeValueDescription
31stringLast PriceThe last price at which the contract traded. May contain one of the following prefixes: C – Previous day’s closing price. H – Trading has halted.
55stringSymbol
58stringText
70stringHighCurrent day high price
71stringLowCurrent day low price
73stringMarket ValueThe current market value of your position in the security. Market Value is calculated with real time market data (even when not subscribed to market data).
74stringAvg PriceThe average price of the position.
75stringUnrealized PnLUnrealized profit or loss. Unrealized PnL is calculated with real time market data (even when not subscribed to market data).
76stringFormatted position
77stringFormatted Unrealized PnL
78stringDaily PnLYour profit or loss of the day since prior close. Daily PnL is calculated with real time market data (even when not subscribed to market data).
79stringRealized PnLRealized profit or loss. Realized PnL is calculated with real time market data (even when not subscribed to market data).
80stringUnrealized PnL %Unrealized profit or loss expressed in percentage.
82stringChangeThe difference between the last price and the close on the previous trading day
83stringChange %The difference between the last price and the close on the previous trading day in percentage.
84stringBid PriceThe highest-priced bid on the contract.
85stringAsk SizeThe number of contracts or shares offered at the ask price.
86stringAsk PriceThe lowest-priced offer on the contract.
87stringVolumeVolume for the day, formatted with ‘K’ for thousands or ‘M’ for millions. For higher precision volume refer to field 7762.
88stringBid SizeThe number of contracts or shares bid for at the bid price.
201stringRightReturns the right of the instrument, such as P for Put or C for Call.
6004stringExchange
6008integerConidContract identifier from IBKR’s database.
6070stringSecTypeThe asset class of the instrument.
6072stringMonths
6073stringRegular Expiry
6119stringMarker for market data delivery method (similar to request id)
6457integerUnderlying Conid. Use /trsrv/secdef to get more information about the security
6508stringService Params.
6509stringMarket Data Availability. The field may contain three chars. First char defines: R = RealTime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed, i – incomplete, v – VDR Exempt (Vendor Display Rule 603c). Second char defines: P = Snapshot, p = Consolidated. Third char defines: B = Book. RealTimeData is relayed back in real time without delay, market data subscription(s) are required. Delayed – Data is relayed back 15-20 min delayed. Frozen – Last recorded data at market close, relayed back in real time. Frozen Delayed – Last recorded data at market close, relayed back delayed. Not Subscribed – User does not have the required market data subscription(s) to relay back either real time or delayed data. Snapshot – Snapshot request is available for contract. Consolidated – Market data is aggregated across multiple exchanges or venues. Book – Top of the book data is available for contract.
7051stringCompany name
7057stringAsk ExchDisplays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY
7058stringLast ExchDisplays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY
7059stringLast SizeThe number of unites traded at the last price
7068stringBid ExchDisplays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY
7084stringImplied Vol./Hist. Vol %The ratio of the implied volatility over the historical volatility, expressed as a percentage.
7085stringPut/Call InterestPut option open interest/call option open interest for the trading day. Only available for Underlying contracts.
7086stringPut/Call VolumePut option volume/call option volume for the trading day.
7087stringHist. Vol. %30-day real-time historical volatility.
7088stringHist. Vol. Close %Shows the historical volatility based on previous close price.
7089stringOpt. VolumeOption Volume
7094stringConid + Exchange
7184stringcanBeTradedIf contract is a trade-able instrument. Returns 1(true) or 0(false).
7219stringContract Description
7220stringContract Description
7221stringListing Exchange
7280stringIndustryDisplays the type of industry under which the underlying company can be categorized.
7281stringCategoryDisplays a more detailed level of description within the industry under which the underlying company can be categorized.
7282stringAverage VolumeThe average daily trading volume over 90 days.
7283stringOption Implied Vol. %A prediction of how volatile an underlying will be in the future.At the market volatility estimated for a maturity thirty calendar days forward of the current trading day, and based on option prices from two consecutive expiration months. To query the Implied Vol. % of a specific strike refer to field 7633.
7284stringHistorical volatility %Deprecated, see field 7087
7285stringPut/Call Ratio
7292stringCost BasisYour current position in this security multiplied by the average price and multiplier.
7293string52 Week HighThe highest price for the past 52 weeks.
7294string52 Week LowThe lowest price for the past 52 weeks.
7295stringOpenToday’s opening price.
7296stringCloseToday’s closing price.
7308stringDeltaThe ratio of the change in the price of the option to the corresponding change in the price of the underlying.
7309stringGammaThe rate of change for the delta with respect to the underlying asset’s price.
7310stringThetaA measure of the rate of decline the value of an option due to the passage of time.
7311stringVegaThe amount that the price of an option changes compared to a 1% change in the volatility.
7607stringOpt. Volume Change %Today’s option volume as a percentage of the average option volume.
7633stringImplied Vol. %The implied volatility for the specific strike of the option in percentage. To query the Option Implied Vol. % from the underlying refer to field 7283.
7635stringMarkThe mark price is, the ask price if ask is less than last price, the bid price if bid is more than the last price, otherwise it’s equal to last price.
7636stringShortable SharesNumber of shares available for shorting.
7637stringFee RateInterest rate charged on borrowed shares.
7638stringOption Open Interest. Available for Underlyings and Call & Put options.
7639string% of Mark ValueDisplays the market value of the contract as a percentage of the total market value of the account. Mark Value is calculated with real time market data (even when not subscribed to market data).
7644stringShortableDescribes the level of difficulty with which the security can be sold short.
7671stringDividendsThis value is the total of the expected dividend payments over the next twelve months per share.
7672stringDividends TTMThis value is the total of the expected dividend payments over the last twelve months per share.
7674stringEMA(200)Exponential moving average (N=200).
7675stringEMA(100)Exponential moving average (N=100).
7676stringEMA(50)Exponential moving average (N=50).
7677stringEMA(20)Exponential moving average (N=20).
7678stringPrice/EMA(200)Price to Exponential moving average (N=200) ratio -1, displayed in percents.
7679stringPrice/EMA(100)Price to Exponential moving average (N=100) ratio -1, displayed in percents.
7724stringPrice/EMA(50)Price to Exponential moving average (N=50) ratio -1, displayed in percents.
7681stringPrice/EMA(20)Price to Exponential moving average (N=20) ratio -1, displayed in percents.
7682stringChange Since OpenThe difference between the last price and the open price.
7683stringUpcoming EventShows the next major company event. Requires Wall Street Horizon subscription.
7684stringUpcoming Event DateThe date of the next major company event. Requires Wall Street Horizon subscription.
7685stringUpcoming Analyst MeetingThe date and time of the next scheduled analyst meeting. Requires Wall Street Horizon subscription.
7686stringUpcoming EarningsThe date and time of the next scheduled earnings/earnings call event. Requires Wall Street Horizon subscription.
7687stringUpcoming Misc EventThe date and time of the next shareholder meeting, presentation or other event. Requires Wall Street Horizon subscription.
7688stringRecent Analyst MeetingThe date and time of the most recent analyst meeting. Requires Wall Street Horizon subscription.
7689stringRecent EarningsThe date and time of the most recent earnings/earning call event. Requires Wall Street Horizon subscription.
7690stringRecent Misc EventThe date and time of the most recent shareholder meeting, presentation or other event. Requires Wall Street Horizon subscription.
7694stringProbability of Max ReturnCustomer implied probability of maximum potential gain.
7695stringBreak EvenBreak even points
7696stringSPX DeltaBeta Weighted Delta is calculated using the formula; Delta x dollar adjusted beta, where adjusted beta is adjusted by the ratio of the close price.
7697stringFutures Open InterestTotal number of outstanding futures contracts
7698stringLast YieldImplied yield of the bond if it is purchased at the current last price. Last yield is calculated using the Last price on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.
7699stringBid YieldImplied yield of the bond if it is purchased at the current bid price. Bid yield is calculated using the Ask on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.
7700stringProbability of Max ReturnCustomer implied probability of maximum potential gain.
7702stringProbability of Max LossCustomer implied probability of maximum potential loss.
7703stringProfit ProbabilityCustomer implied probability of any gain.
7704stringOrganization Type
7705stringDebt Class
7706stringRatingsRatings issued for bond contract.
7707stringBond State Code
7708stringBond Type
7714stringLast Trading Date
7715stringIssue Date
7720stringAsk YieldImplied yield of the bond if it is purchased at the current offer. Ask yield is calculated using the Bid on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.
7741stringPrior CloseYesterday’s closing price
7762stringVolume LongHigh precision volume for the day. For formatted volume refer to field 87.
7768stringhasTradingPermissionsif user has trading permissions for specified contract. Returns 1(true) or 0(false).
7920stringDaily PnL RawYour profit or loss of the day since prior close. Daily PnL is calculated with real-time market data (even when not subscribed to market data).
7921stringCost Basis RawYour current position in this security multiplied by the average price and and multiplier.