struct SnapshotOut {Show 27 fields
symbol: String,
name: Option<String>,
update_time: String,
cur_price: f64,
last_close: f64,
change_rate: f64,
open: f64,
high: f64,
low: f64,
volume: i64,
turnover: f64,
turnover_rate: f64,
amplitude: Option<f64>,
avg_price: Option<f64>,
volume_ratio: Option<f64>,
highest52: Option<f64>,
lowest52: Option<f64>,
ask_price: Option<f64>,
bid_price: Option<f64>,
is_suspend: bool,
lot_size: i32,
overnight: Option<OvernightOut>,
exchange_code: Option<String>,
option_greeks: Option<OptionGreeksOut>,
equity_fundamental: Option<EquityFundamentalOut>,
warrant_data: Option<WarrantDataOut>,
future_data: Option<FutureDataOut>,
}Fields§
§symbol: String§name: Option<String>§update_time: String§cur_price: f64§last_close: f64§change_rate: f64§open: f64§high: f64§low: f64§volume: i64§turnover: f64§turnover_rate: f64§amplitude: Option<f64>§avg_price: Option<f64>§volume_ratio: Option<f64>§highest52: Option<f64>§lowest52: Option<f64>§ask_price: Option<f64>§bid_price: Option<f64>§is_suspend: bool§lot_size: i32§overnight: Option<OvernightOut>v1.4.72 BUG-006 L4 (eli v1.4.69 P1): US 夜盘 overnight OHLCV 数据。
仅 US 股票在夜盘时段有值。其他市场 / regular hours → None。
对齐 proto SnapshotBasicData.overnight (field 42)。
exchange_code: Option<String>v1.4.93 P1-3 (BUG-5318-003): exchange_code (e.g. “CME”/“NYMEX”/“NYSE”).
snapshot proto 自身不带 exch_type 字段, MCP handler 在 snapshot 之外
额外调一次 get_static_info 获取. null (字段省略) = unknown.
见 futu_core::exch_type::exch_type_to_string 完整映射表.
option_greeks: Option<OptionGreeksOut>v1.4.94 Tier M3 (mobile-driven extension): 期权希腊字母 + IV + 溢价 +
open interest. 仅期权 symbol 有此字段 (snapshot proto option_ex_data);
普通股 / 期货 / 基金等 → None.
来源: OpenD Qot_Common.proto OptionSnapshotExData (字段 8-13).
之前 MCP get_snapshot 只返 basic OHLC, 期权用户必须自己 subscribe +
parse OptionBasicQotExData (复杂). v1.4.94 直接在 snapshot response 里返.
equity_fundamental: Option<EquityFundamentalOut>v1.4.98 T1-2 (mobile-source-audit Phase 2): 正股 fundamental 字段 (PE / PB /
EPS / 股息 / NAV / 市值 / 流通股本 等 16 字段). 仅 equity symbol 有.
来源: Qot_GetSecuritySnapshot.proto EquitySnapshotExData.
LLM agent fundamental analysis 必备 (选股 / 估值 / 股息策略).
warrant_data: Option<WarrantDataOut>v1.4.98 T1-2: 港股 warrant / CBBC / 牛熊证 字段 (delta / IV / premium /
换股比率 / 街货 / 杠杆 等 19 字段). 仅 HK warrant 有.
来源: Qot_GetSecuritySnapshot.proto WarrantSnapshotExData.
future_data: Option<FutureDataOut>v1.4.98 T1-2: 期货特有字段 (昨结 / 持仓量 / 日增仓 / 主连标识).
仅 future symbol 有. 来源: FutureSnapshotExData.
期货 trader momentum 信号必看.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnapshotOut
impl RefUnwindSafe for SnapshotOut
impl Send for SnapshotOut
impl Sync for SnapshotOut
impl Unpin for SnapshotOut
impl UnsafeUnpin for SnapshotOut
impl UnwindSafe for SnapshotOut
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