pub struct RealQuote {
pub date: NaiveDate,
pub spot: f64,
pub expiration: i64,
pub days: f64,
pub strike: f64,
pub atm_iv: f64,
pub straddle_bid: f64,
pub straddle_ask: f64,
}Expand description
What the option market actually charged for an at-the-money straddle.
Fields§
§date: NaiveDate§spot: f64§expiration: i64Expiry used (unix seconds) and its calendar days away.
days: f64§strike: f64§atm_iv: f64Mean of the ATM call and put implied vols (annualized).
straddle_bid: f64Straddle bid and ask, per share.
straddle_ask: f64Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealQuote
impl<'de> Deserialize<'de> for RealQuote
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 RealQuote
impl RefUnwindSafe for RealQuote
impl Send for RealQuote
impl Sync for RealQuote
impl Unpin for RealQuote
impl UnsafeUnpin for RealQuote
impl UnwindSafe for RealQuote
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