pub struct FinacialIndicator {Show 19 fields
pub total_shares: Option<i64>,
pub total_market_cap: Option<i64>,
pub outstanding_shares: Option<i64>,
pub outstanding_market_cap: Option<i64>,
pub pe_lyr: Option<i64>,
pub pe_ttm: Option<i64>,
pub pb_ratio: Option<i64>,
pub eps_lyr: Option<i64>,
pub eps_ttm: Option<i64>,
pub dividend: Option<i64>,
pub dividend_ratio: Option<i64>,
pub price_limit_up: Option<i64>,
pub price_limit_down: Option<i64>,
pub dividend_lfy: Option<i64>,
pub dividend_lfy_ratio: Option<i64>,
pub apply_min: Option<i64>,
pub apply_max: Option<i64>,
pub same_share_ratio: Option<u64>,
pub registered_capital: Option<u64>,
}Expand description
财务指标,订阅位:SBIT_FINANCIAL_INDICATOR
Fields§
总股本(股)
total_market_cap: Option<i64>总市值,[放大10^3倍],前端展示值 Market Capitalization (Market Cap)
流通股本(股)
outstanding_market_cap: Option<i64>流通市值,[放大10^3倍],前端展示值
pe_lyr: Option<i64>静态市盈率,[放大10^3倍],前端展示值 Price-Earnings (P/E) Last Year Ratio (LYR)
pe_ttm: Option<i64>动态市盈率TTM,[放大10^3倍],前端展示值 Trailing Twelve Months (TTM)
pb_ratio: Option<i64>市净率,[放大10^3倍],前端展示值 Price-to-Book Ratio (P/B Ratio)
eps_lyr: Option<i64>年度每股收益,[放大10^9倍],前端展示值 Earnings Per Share (EPS)
eps_ttm: Option<i64>动态每股收益TTM,[放大10^9倍],前端展示值
dividend: Option<i64>股息[放大10^9倍],前端展示值. ttm派息
dividend_ratio: Option<i64>股息率[放大10^4倍],前端展示百分比. 更正:以前注释是10^5,但后端的实现是10^4,特此更正注释。
price_limit_up: Option<i64>涨停价(仅A股)
price_limit_down: Option<i64>跌停价(仅A股)
dividend_lfy: Option<i64>上一年度派息[放大10^9倍]
dividend_lfy_ratio: Option<i64>股息率lfy[放大10^5倍],前端展示百分比
apply_min: Option<i64>申报下限
apply_max: Option<i64>申报上限
同股同权的标示(比例)
registered_capital: Option<u64>注册资本
Implementations§
Source§impl FinacialIndicator
impl FinacialIndicator
Returns the value of total_shares, or the default value if total_shares is unset.
Sourcepub fn total_market_cap(&self) -> i64
pub fn total_market_cap(&self) -> i64
Returns the value of total_market_cap, or the default value if total_market_cap is unset.
Returns the value of outstanding_shares, or the default value if outstanding_shares is unset.
Sourcepub fn outstanding_market_cap(&self) -> i64
pub fn outstanding_market_cap(&self) -> i64
Returns the value of outstanding_market_cap, or the default value if outstanding_market_cap is unset.
Sourcepub fn pe_lyr(&self) -> i64
pub fn pe_lyr(&self) -> i64
Returns the value of pe_lyr, or the default value if pe_lyr is unset.
Sourcepub fn pe_ttm(&self) -> i64
pub fn pe_ttm(&self) -> i64
Returns the value of pe_ttm, or the default value if pe_ttm is unset.
Sourcepub fn pb_ratio(&self) -> i64
pub fn pb_ratio(&self) -> i64
Returns the value of pb_ratio, or the default value if pb_ratio is unset.
Sourcepub fn eps_lyr(&self) -> i64
pub fn eps_lyr(&self) -> i64
Returns the value of eps_lyr, or the default value if eps_lyr is unset.
Sourcepub fn eps_ttm(&self) -> i64
pub fn eps_ttm(&self) -> i64
Returns the value of eps_ttm, or the default value if eps_ttm is unset.
Sourcepub fn dividend(&self) -> i64
pub fn dividend(&self) -> i64
Returns the value of dividend, or the default value if dividend is unset.
Sourcepub fn dividend_ratio(&self) -> i64
pub fn dividend_ratio(&self) -> i64
Returns the value of dividend_ratio, or the default value if dividend_ratio is unset.
Sourcepub fn price_limit_up(&self) -> i64
pub fn price_limit_up(&self) -> i64
Returns the value of price_limit_up, or the default value if price_limit_up is unset.
Sourcepub fn price_limit_down(&self) -> i64
pub fn price_limit_down(&self) -> i64
Returns the value of price_limit_down, or the default value if price_limit_down is unset.
Sourcepub fn dividend_lfy(&self) -> i64
pub fn dividend_lfy(&self) -> i64
Returns the value of dividend_lfy, or the default value if dividend_lfy is unset.
Sourcepub fn dividend_lfy_ratio(&self) -> i64
pub fn dividend_lfy_ratio(&self) -> i64
Returns the value of dividend_lfy_ratio, or the default value if dividend_lfy_ratio is unset.
Sourcepub fn apply_min(&self) -> i64
pub fn apply_min(&self) -> i64
Returns the value of apply_min, or the default value if apply_min is unset.
Sourcepub fn apply_max(&self) -> i64
pub fn apply_max(&self) -> i64
Returns the value of apply_max, or the default value if apply_max is unset.
Returns the value of same_share_ratio, or the default value if same_share_ratio is unset.
Sourcepub fn registered_capital(&self) -> u64
pub fn registered_capital(&self) -> u64
Returns the value of registered_capital, or the default value if registered_capital is unset.
Trait Implementations§
Source§impl Clone for FinacialIndicator
impl Clone for FinacialIndicator
Source§fn clone(&self) -> FinacialIndicator
fn clone(&self) -> FinacialIndicator
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FinacialIndicator
impl Debug for FinacialIndicator
Source§impl Default for FinacialIndicator
impl Default for FinacialIndicator
Source§impl Hash for FinacialIndicator
impl Hash for FinacialIndicator
Source§impl Message for FinacialIndicator
impl Message for FinacialIndicator
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 FinacialIndicator
impl PartialEq for FinacialIndicator
impl Copy for FinacialIndicator
impl Eq for FinacialIndicator
impl StructuralPartialEq for FinacialIndicator
Auto Trait Implementations§
impl Freeze for FinacialIndicator
impl RefUnwindSafe for FinacialIndicator
impl Send for FinacialIndicator
impl Sync for FinacialIndicator
impl Unpin for FinacialIndicator
impl UnsafeUnpin for FinacialIndicator
impl UnwindSafe for FinacialIndicator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.