pub struct Quote {Show 30 fields
pub variety: String,
pub variety_order: String,
pub contract_id: String,
pub deliv_month: String,
pub open: String,
pub high: String,
pub low: String,
pub close: String,
pub last_clear: String,
pub last_price: String,
pub clear_price: String,
pub diff: String,
pub diff1: String,
pub declare_price: String,
pub volume: i64,
pub open_interest: i64,
pub diff_i: i64,
pub turnover: String,
pub variety_en: String,
pub turnover_en: String,
pub delta: String,
pub match_qty_sum: i64,
pub diff_t: String,
pub volumn_rate: String,
pub open_interest_rate: String,
pub period_over_period_chg: String,
pub diff_v: Option<i64>,
pub implied_volatility: String,
pub series_id: String,
pub avg_open_interest: i64,
}Expand description
Quote data for a contract.
Fields§
§variety: StringVariety name.
variety_order: StringVariety order/code.
contract_id: StringContract ID.
deliv_month: StringDelivery month (for night quotes).
open: StringOpen price.
high: StringHigh price.
low: StringLow price.
close: StringClose price.
last_clear: StringLast clearing price (前结算价).
last_price: StringLast price (最新价, for night quotes).
clear_price: StringClearing/settlement price (结算价).
diff: StringPrice difference (涨跌).
diff1: StringPrice difference 1 (涨跌1).
declare_price: StringDeclare price (买价/卖价, for night quotes).
volume: i64Volume (成交量).
open_interest: i64Open interest (持仓量).
diff_i: i64Open interest difference (持仓量变化).
turnover: StringTurnover (成交额).
variety_en: StringVariety name in English.
turnover_en: StringTurnover in English format.
delta: StringDelta (期权).
match_qty_sum: i64Exercise quantity sum (行权量).
diff_t: StringTurnover difference.
volumn_rate: StringVolume rate (期权期货成交比).
open_interest_rate: StringOpen interest rate (期权期货持仓比).
period_over_period_chg: StringPeriod over period change.
diff_v: Option<i64>Volume difference.
implied_volatility: StringImplied volatility (隐含波动率).
series_id: StringSeries ID (期权系列).
avg_open_interest: i64Average open interest (日均持仓量).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quote
impl<'de> Deserialize<'de> for Quote
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 Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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