pub struct OptionChain {
pub underlying_contract_id: i32,
pub trading_class: String,
pub multiplier: String,
pub exchange: String,
pub expirations: Vec<String>,
pub strikes: Vec<f64>,
}
Fields§
§underlying_contract_id: i32
The contract ID of the underlying security.
trading_class: String
The option trading class.
multiplier: String
The option multiplier.
exchange: String
Exchange for which the derivative is hosted.
expirations: Vec<String>
A list of the expiries for the options of this underlying on this exchange.
strikes: Vec<f64>
A list of the possible strikes for options of this underlying on this exchange.
Trait Implementations§
Source§impl Debug for OptionChain
impl Debug for OptionChain
Source§impl Default for OptionChain
impl Default for OptionChain
Source§fn default() -> OptionChain
fn default() -> OptionChain
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OptionChain
impl RefUnwindSafe for OptionChain
impl Send for OptionChain
impl Sync for OptionChain
impl Unpin for OptionChain
impl UnwindSafe for OptionChain
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