pub struct WarrantInfo {Show 25 fields
pub symbol: String,
pub warrant_type: WarrantType,
pub name: String,
pub last_done: Decimal,
pub change_rate: Decimal,
pub change_value: Decimal,
pub volume: i64,
pub turnover: Decimal,
pub expiry_date: Date,
pub strike_price: Option<Decimal>,
pub upper_strike_price: Option<Decimal>,
pub lower_strike_price: Option<Decimal>,
pub outstanding_qty: i64,
pub outstanding_ratio: Decimal,
pub premium: Decimal,
pub itm_otm: Option<Decimal>,
pub implied_volatility: Option<Decimal>,
pub delta: Option<Decimal>,
pub call_price: Option<Decimal>,
pub to_call_price: Option<Decimal>,
pub effective_leverage: Option<Decimal>,
pub leverage_ratio: Decimal,
pub conversion_ratio: Option<Decimal>,
pub balance_point: Option<Decimal>,
pub status: WarrantStatus,
}
Expand description
Warrant info
Fields§
§symbol: String
Security code
warrant_type: WarrantType
Warrant type
name: String
Security name
last_done: Decimal
Latest price
change_rate: Decimal
Quote change rate
change_value: Decimal
Quote change
volume: i64
Volume
turnover: Decimal
Turnover
expiry_date: Date
Expiry date
strike_price: Option<Decimal>
Strike price
upper_strike_price: Option<Decimal>
Upper strike price
lower_strike_price: Option<Decimal>
Lower strike price
outstanding_qty: i64
Outstanding quantity
outstanding_ratio: Decimal
Outstanding ratio
Premium
itm_otm: Option<Decimal>
In/out of the bound
implied_volatility: Option<Decimal>
Implied volatility
delta: Option<Decimal>
Delta
call_price: Option<Decimal>
Call price
to_call_price: Option<Decimal>
Price interval from the call price
effective_leverage: Option<Decimal>
Effective leverage
leverage_ratio: Decimal
Leverage ratio
conversion_ratio: Option<Decimal>
Conversion ratio
balance_point: Option<Decimal>
Breakeven point
status: WarrantStatus
Status
Trait Implementations§
source§impl Clone for WarrantInfo
impl Clone for WarrantInfo
source§fn clone(&self) -> WarrantInfo
fn clone(&self) -> WarrantInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WarrantInfo
impl Debug for WarrantInfo
Auto Trait Implementations§
impl Freeze for WarrantInfo
impl RefUnwindSafe for WarrantInfo
impl Send for WarrantInfo
impl Sync for WarrantInfo
impl Unpin for WarrantInfo
impl UnwindSafe for WarrantInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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