struct OptionRow {
strike_price: f64,
call_symbol: Option<String>,
put_symbol: Option<String>,
suspend: Option<bool>,
market: Option<String>,
index_option_type: Option<i32>,
expiration_cycle: Option<i32>,
option_standard_type: Option<i32>,
option_settlement_mode: Option<i32>,
}Expand description
v1.4.98 T1-3 (mobile-source-audit): 单条期权 (call+put 配对, 同 strike).
之前 OptionChainEntry 只返 strike_time + Vec
Note: Greeks (delta/gamma/theta/vega/rho/IV) 是 live-data 在 snapshot (proto OptionSnapshotExData v1.4.94 M3 已 expose), chain 只含 static. 完整 Greek 仍需 batch get_snapshot (1 次 N symbols).
Fields§
§strike_price: f64行权价 (期权 trader 第一关心字段)
call_symbol: Option<String>看涨合约 symbol (None = 此 strike 无 call)
put_symbol: Option<String>看跌合约 symbol (None = 此 strike 无 put)
suspend: Option<bool>是否停牌 (call 优先, fallback put)
market: Option<String>发行市场名 (e.g. “HKEX” / “OPRA”)
index_option_type: Option<i32>指数期权类型 (仅指数期权有, IndexOptionType enum)
expiration_cycle: Option<i32>交割周期 (ExpirationCycle: Weekly/Monthly/Quarterly)
option_standard_type: Option<i32>标准期权 (OptionStandardType enum)
option_settlement_mode: Option<i32>结算方式 (OptionSettlementMode enum)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OptionRow
impl RefUnwindSafe for OptionRow
impl Send for OptionRow
impl Sync for OptionRow
impl Unpin for OptionRow
impl UnsafeUnpin for OptionRow
impl UnwindSafe for OptionRow
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more