pub struct OptionQuote {Show 22 fields
pub underlying: String,
pub underlying_id: u64,
pub symbol: String,
pub symbol_id: u64,
pub bid_price: Option<f64>,
pub ask_price: Option<f64>,
pub last_trade_price: Option<f64>,
pub volume: Option<u64>,
pub open_interest: Option<u64>,
pub volatility: Option<f64>,
pub delta: Option<f64>,
pub gamma: Option<f64>,
pub theta: Option<f64>,
pub vega: Option<f64>,
pub rho: Option<f64>,
pub strike_price: Option<f64>,
pub expiry_date: Option<String>,
pub option_type: Option<String>,
pub vwap: Option<f64>,
pub is_halted: Option<bool>,
pub bid_size: Option<u64>,
pub ask_size: Option<u64>,
}Expand description
Real-time quote and Greeks for a single option contract.
Fields§
§underlying: StringUnderlying ticker symbol (e.g. "AAPL").
underlying_id: u64Questrade symbol ID of the underlying equity.
symbol: StringOption ticker symbol.
symbol_id: u64Questrade symbol ID for this option contract.
bid_price: Option<f64>Best bid price; None if no bid is available.
ask_price: Option<f64>Best ask price; None if no ask is available.
last_trade_price: Option<f64>Last trade price.
volume: Option<u64>Total session volume in contracts.
open_interest: Option<u64>Open interest — number of outstanding contracts.
volatility: Option<f64>Implied volatility as a decimal (e.g. 0.30 = 30%).
delta: Option<f64>Delta Greek (rate of change of option price vs. underlying price).
gamma: Option<f64>Gamma Greek (rate of change of delta vs. underlying price).
theta: Option<f64>Theta Greek — daily time decay of the option price.
vega: Option<f64>Vega Greek (sensitivity to implied volatility changes).
rho: Option<f64>Rho Greek (sensitivity to interest rate changes).
strike_price: Option<f64>Strike price. May be absent; prefer values derived from the chain structure.
expiry_date: Option<String>Expiry date string. May be absent; prefer values derived from the chain structure.
option_type: Option<String>Option type: "Call" or "Put". May be absent.
vwap: Option<f64>Volume-weighted average price.
is_halted: Option<bool>Whether trading in this option is currently halted.
bid_size: Option<u64>Number of contracts at the best bid.
ask_size: Option<u64>Number of contracts at the best ask.