pub struct SecurityStaticInfo {Show 16 fields
pub symbol: String,
pub name_cn: String,
pub name_en: String,
pub name_hk: String,
pub exchange: String,
pub currency: String,
pub lot_size: i32,
pub total_shares: i64,
pub circulating_shares: i64,
pub hk_shares: i64,
pub eps: Decimal,
pub eps_ttm: Decimal,
pub bps: Decimal,
pub dividend_yield: Decimal,
pub stock_derivatives: DerivativeType,
pub board: SecurityBoard,
}Expand description
The basic information of securities
Fields§
§symbol: StringSecurity code
name_cn: StringSecurity name (zh-CN)
name_en: StringSecurity name (en)
name_hk: StringSecurity name (zh-HK)
exchange: StringExchange which the security belongs to
currency: StringTrading currency
lot_size: i32Lot size
Total shares
Circulating shares
HK shares (only HK stocks)
eps: DecimalEarnings per share
eps_ttm: DecimalEarnings per share (TTM)
bps: DecimalNet assets per share
dividend_yield: DecimalDividend yield
stock_derivatives: DerivativeTypeTypes of supported derivatives
board: SecurityBoardBoard
Trait Implementations§
Source§impl Debug for SecurityStaticInfo
impl Debug for SecurityStaticInfo
Source§impl<'de> Deserialize<'de> for SecurityStaticInfo
impl<'de> Deserialize<'de> for SecurityStaticInfo
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
Source§impl Serialize for SecurityStaticInfo
impl Serialize for SecurityStaticInfo
Auto Trait Implementations§
impl Freeze for SecurityStaticInfo
impl RefUnwindSafe for SecurityStaticInfo
impl Send for SecurityStaticInfo
impl Sync for SecurityStaticInfo
impl Unpin for SecurityStaticInfo
impl UnwindSafe for SecurityStaticInfo
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
§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>
Converts
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>
Converts
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