pub struct EarningsItem {Show 22 fields
pub owner: Security,
pub name: Option<String>,
pub price: Option<f64>,
pub change_rate: Option<f64>,
pub market_cap: Option<f64>,
pub iv: Option<f64>,
pub iv_rank: Option<f64>,
pub iv_percentile: Option<f64>,
pub hv: Option<f64>,
pub volume: Option<i64>,
pub open_interest: Option<i64>,
pub earnings_timestamp: Option<f64>,
pub earnings_time: Option<String>,
pub earnings_pub_type: Option<i32>,
pub earnings_quarter: Option<String>,
pub last_report_iv_crush: Option<f64>,
pub history_report_iv_crush: Option<f64>,
pub last_report_chg_rate: Option<f64>,
pub history_report_chg_rate: Option<f64>,
pub estimate_eps_yoy: Option<f64>,
pub estimate_revenue_yoy: Option<f64>,
pub expected_move_ratio: Option<f64>,
}Expand description
财报标的项
Fields§
§owner: Security§name: Option<String>§price: Option<f64>§change_rate: Option<f64>涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
market_cap: Option<f64>§iv: Option<f64>(%)
iv_rank: Option<f64>(%)
iv_percentile: Option<f64>(%)
hv: Option<f64>(%)
volume: Option<i64>§open_interest: Option<i64>§earnings_timestamp: Option<f64>财报
财报时间戳(秒)
earnings_time: Option<String>财报时间字符串(“yyyy-MM-dd”)
earnings_pub_type: Option<i32>Qot_OptionCommon.EarningsPubType
earnings_quarter: Option<String>如 “2025Q1”
last_report_iv_crush: Option<f64>财报统计
(%)
history_report_iv_crush: Option<f64>(%)
last_report_chg_rate: Option<f64>上次财报日涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
history_report_chg_rate: Option<f64>历史财报日涨跌幅(该字段为百分比字段,默认不展示%,如20实际对应20%)
estimate_eps_yoy: Option<f64>(%)
estimate_revenue_yoy: Option<f64>(%)
expected_move_ratio: Option<f64>(%)
Implementations§
Source§impl EarningsItem
impl EarningsItem
Sourcepub fn change_rate(&self) -> f64
pub fn change_rate(&self) -> f64
Returns the value of change_rate, or the default value if change_rate is unset.
Sourcepub fn market_cap(&self) -> f64
pub fn market_cap(&self) -> f64
Returns the value of market_cap, or the default value if market_cap is unset.
Sourcepub fn iv_rank(&self) -> f64
pub fn iv_rank(&self) -> f64
Returns the value of iv_rank, or the default value if iv_rank is unset.
Sourcepub fn iv_percentile(&self) -> f64
pub fn iv_percentile(&self) -> f64
Returns the value of iv_percentile, or the default value if iv_percentile is unset.
Sourcepub fn volume(&self) -> i64
pub fn volume(&self) -> i64
Returns the value of volume, or the default value if volume is unset.
Sourcepub fn open_interest(&self) -> i64
pub fn open_interest(&self) -> i64
Returns the value of open_interest, or the default value if open_interest is unset.
Sourcepub fn earnings_timestamp(&self) -> f64
pub fn earnings_timestamp(&self) -> f64
Returns the value of earnings_timestamp, or the default value if earnings_timestamp is unset.
Sourcepub fn earnings_time(&self) -> &str
pub fn earnings_time(&self) -> &str
Returns the value of earnings_time, or the default value if earnings_time is unset.
Sourcepub fn earnings_pub_type(&self) -> i32
pub fn earnings_pub_type(&self) -> i32
Returns the value of earnings_pub_type, or the default value if earnings_pub_type is unset.
Sourcepub fn earnings_quarter(&self) -> &str
pub fn earnings_quarter(&self) -> &str
Returns the value of earnings_quarter, or the default value if earnings_quarter is unset.
Sourcepub fn last_report_iv_crush(&self) -> f64
pub fn last_report_iv_crush(&self) -> f64
Returns the value of last_report_iv_crush, or the default value if last_report_iv_crush is unset.
Sourcepub fn history_report_iv_crush(&self) -> f64
pub fn history_report_iv_crush(&self) -> f64
Returns the value of history_report_iv_crush, or the default value if history_report_iv_crush is unset.
Sourcepub fn last_report_chg_rate(&self) -> f64
pub fn last_report_chg_rate(&self) -> f64
Returns the value of last_report_chg_rate, or the default value if last_report_chg_rate is unset.
Sourcepub fn history_report_chg_rate(&self) -> f64
pub fn history_report_chg_rate(&self) -> f64
Returns the value of history_report_chg_rate, or the default value if history_report_chg_rate is unset.
Sourcepub fn estimate_eps_yoy(&self) -> f64
pub fn estimate_eps_yoy(&self) -> f64
Returns the value of estimate_eps_yoy, or the default value if estimate_eps_yoy is unset.
Sourcepub fn estimate_revenue_yoy(&self) -> f64
pub fn estimate_revenue_yoy(&self) -> f64
Returns the value of estimate_revenue_yoy, or the default value if estimate_revenue_yoy is unset.
Sourcepub fn expected_move_ratio(&self) -> f64
pub fn expected_move_ratio(&self) -> f64
Returns the value of expected_move_ratio, or the default value if expected_move_ratio is unset.
Trait Implementations§
Source§impl Clone for EarningsItem
impl Clone for EarningsItem
Source§fn clone(&self) -> EarningsItem
fn clone(&self) -> EarningsItem
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EarningsItem
impl Debug for EarningsItem
Source§impl Default for EarningsItem
impl Default for EarningsItem
Source§impl<'de> Deserialize<'de> for EarningsItemwhere
EarningsItem: Default,
impl<'de> Deserialize<'de> for EarningsItemwhere
EarningsItem: Default,
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>,
Source§impl Message for EarningsItem
impl Message for EarningsItem
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for EarningsItem
impl PartialEq for EarningsItem
Source§fn eq(&self, other: &EarningsItem) -> bool
fn eq(&self, other: &EarningsItem) -> bool
self and other values to be equal, and is used by ==.