pub enum CalcIndex {
Show 40 variants
LastDone,
ChangeValue,
ChangeRate,
Volume,
Turnover,
YtdChangeRate,
TurnoverRate,
TotalMarketValue,
CapitalFlow,
Amplitude,
VolumeRatio,
PeTtmRatio,
PbRatio,
DividendRatioTtm,
FiveDayChangeRate,
TenDayChangeRate,
HalfYearChangeRate,
FiveMinutesChangeRate,
ExpiryDate,
StrikePrice,
UpperStrikePrice,
LowerStrikePrice,
OutstandingQty,
OutstandingRatio,
Premium,
ItmOtm,
ImpliedVolatility,
WarrantDelta,
CallPrice,
ToCallPrice,
EffectiveLeverage,
LeverageRatio,
ConversionRatio,
BalancePoint,
OpenInterest,
Delta,
Gamma,
Theta,
Vega,
Rho,
}
Expand description
Calc index
Variants§
LastDone
Latest price
ChangeValue
Change value
ChangeRate
Change rate
Volume
Volume
Turnover
Turnover
YtdChangeRate
Year-to-date change ratio
TurnoverRate
Turnover rate
TotalMarketValue
Total market value
CapitalFlow
Capital flow
Amplitude
Amplitude
VolumeRatio
Volume ratio
PeTtmRatio
PE (TTM)
PbRatio
PB
DividendRatioTtm
Dividend ratio (TTM)
FiveDayChangeRate
Five days change ratio
TenDayChangeRate
Ten days change ratio
HalfYearChangeRate
Half year change ratio
FiveMinutesChangeRate
Five minutes change ratio
ExpiryDate
Expiry date
StrikePrice
Strike price
UpperStrikePrice
Upper bound price
LowerStrikePrice
Lower bound price
OutstandingQty
Outstanding quantity
OutstandingRatio
Outstanding ratio
Premium
Premium
ItmOtm
In/out of the bound
ImpliedVolatility
Implied volatility
WarrantDelta
Warrant delta
CallPrice
Call price
ToCallPrice
Price interval from the call price
EffectiveLeverage
Effective leverage
LeverageRatio
Leverage ratio
ConversionRatio
Conversion ratio
BalancePoint
Breakeven point
OpenInterest
Open interest
Delta
Delta
Gamma
Gamma
Theta
Theta
Vega
Vega
Rho
Rho
Trait Implementations§
impl Copy for CalcIndex
impl Eq for CalcIndex
impl StructuralPartialEq for CalcIndex
Auto Trait Implementations§
impl Freeze for CalcIndex
impl RefUnwindSafe for CalcIndex
impl Send for CalcIndex
impl Sync for CalcIndex
impl Unpin for CalcIndex
impl UnwindSafe for CalcIndex
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