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: String
Security code
name_cn: String
Security name (zh-CN)
name_en: String
Security name (en)
name_hk: String
Security name (zh-HK)
exchange: String
Exchange which the security belongs to
currency: String
Trading currency
lot_size: i32
Lot size
Total shares
Circulating shares
HK shares (only HK stocks)
eps: Decimal
Earnings per share
eps_ttm: Decimal
Earnings per share (TTM)
bps: Decimal
Net assets per share
dividend_yield: Decimal
Dividend yield
stock_derivatives: DerivativeType
Types of supported derivatives
board: SecurityBoard
Board
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