pub struct StrategyQuote {Show 13 fields
pub variant_id: u32,
pub bid_price: Option<f64>,
pub ask_price: Option<f64>,
pub underlying: String,
pub underlying_id: u64,
pub open_price: Option<f64>,
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 is_real_time: bool,
}Expand description
Combined quote and Greeks for a multi-leg option strategy.
Fields§
§variant_id: u32Echoed variant ID from the request.
bid_price: Option<f64>Best bid price for the strategy; None if unavailable.
ask_price: Option<f64>Best ask price for the strategy; None if unavailable.
underlying: StringUnderlying ticker symbol.
underlying_id: u64Questrade internal symbol ID of the underlying.
open_price: Option<f64>Session open price for the strategy.
volatility: Option<f64>Implied volatility as a decimal (e.g. 0.30 = 30%).
delta: Option<f64>Delta Greek.
gamma: Option<f64>Gamma Greek.
theta: Option<f64>Theta Greek — daily time decay.
vega: Option<f64>Vega Greek — sensitivity to IV changes.
rho: Option<f64>Rho Greek — sensitivity to interest rate changes.
is_real_time: boolWhether the quote data is real-time.
Trait Implementations§
Source§impl Debug for StrategyQuote
impl Debug for StrategyQuote
Source§impl<'de> Deserialize<'de> for StrategyQuote
impl<'de> Deserialize<'de> for StrategyQuote
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StrategyQuote
impl RefUnwindSafe for StrategyQuote
impl Send for StrategyQuote
impl Sync for StrategyQuote
impl Unpin for StrategyQuote
impl UnsafeUnpin for StrategyQuote
impl UnwindSafe for StrategyQuote
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more