pub struct ZeroDteScreenerItem {Show 16 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 last_trading_time: Option<i64>,
pub earnings_timestamp: Option<i64>,
pub earnings_time: Option<String>,
pub earnings_pub_type: Option<i32>,
pub chain_info: Option<OptionChainInfo>,
}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(%)
iv_rank: Option<f64>IV Rank(%)
iv_percentile: Option<f64>IV Percentile(%)
hv: Option<f64>HV(%)
volume: Option<i64>期权总成交量
open_interest: Option<i64>期权总持仓量
last_trading_time: Option<i64>最后交易时间戳(秒)
earnings_timestamp: Option<i64>财报(若标的即将发财报)
财报时间戳(秒)
earnings_time: Option<String>财报时间字符串(yyyy-MM-dd HH:mm:ss)
earnings_pub_type: Option<i32>EarningsPubType
chain_info: Option<OptionChainInfo>链标识(传递给 Contract 请求)
Implementations§
Source§impl ZeroDteScreenerItem
impl ZeroDteScreenerItem
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 last_trading_time(&self) -> i64
pub fn last_trading_time(&self) -> i64
Returns the value of last_trading_time, or the default value if last_trading_time is unset.
Sourcepub fn earnings_timestamp(&self) -> i64
pub fn earnings_timestamp(&self) -> i64
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.
Trait Implementations§
Source§impl Clone for ZeroDteScreenerItem
impl Clone for ZeroDteScreenerItem
Source§fn clone(&self) -> ZeroDteScreenerItem
fn clone(&self) -> ZeroDteScreenerItem
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 ZeroDteScreenerItem
impl Debug for ZeroDteScreenerItem
Source§impl Default for ZeroDteScreenerItem
impl Default for ZeroDteScreenerItem
Source§impl<'de> Deserialize<'de> for ZeroDteScreenerItemwhere
ZeroDteScreenerItem: Default,
impl<'de> Deserialize<'de> for ZeroDteScreenerItemwhere
ZeroDteScreenerItem: 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 ZeroDteScreenerItem
impl Message for ZeroDteScreenerItem
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 ZeroDteScreenerItem
impl PartialEq for ZeroDteScreenerItem
Source§fn eq(&self, other: &ZeroDteScreenerItem) -> bool
fn eq(&self, other: &ZeroDteScreenerItem) -> bool
self and other values to be equal, and is used by ==.