struct OptionGreeksOut {}Expand description
v1.4.94 Tier M3 (mobile-driven extension): 期权希腊字母 + 关键指标 output.
对齐 OpenD Qot_Common.proto OptionSnapshotExData (snapshot) +
OptionBasicQotExData (real-time). MCP get_snapshot 仅在 symbol 是期权时返此字段.
Fields§
§implied_volatility: f64隐含波动率 (%)
溢价 (%)
delta: f64Delta (-1 ~ 1, call 正 put 负, 反映价格变化对期权的杠杆)
gamma: f64Gamma (Delta 对底层价格的二阶导)
vega: f64Vega (隐含波动率每变 1% 期权价格的变化)
theta: f64Theta (每天衰减的时间价值)
rho: f64Rho (无风险利率每变 1% 期权价格的变化)
open_interest: Option<i32>未平仓合约数 (open interest)
strike_price: Option<f64>行权价
contract_size: Option<i32>合约乘数 (1 张期权对应几股 underlying)
expiry_date_distance: Option<i32>距离到期日天数 (DTE), 负数表已过期
contract_nominal_value: Option<f64>合约名义金额 (仅港股期权)
net_open_interest: Option<i32>净未平仓合约数 (仅港股期权)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OptionGreeksOut
impl RefUnwindSafe for OptionGreeksOut
impl Send for OptionGreeksOut
impl Sync for OptionGreeksOut
impl Unpin for OptionGreeksOut
impl UnsafeUnpin for OptionGreeksOut
impl UnwindSafe for OptionGreeksOut
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
§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>
Converts
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>
Converts
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