SecurityCalcIndex
struct SecurityCalcIndex
Security calc index response
Change value
Change value
Change value
Change ratio
Change ratio
Change ratio
Year-to-date change ratio
Year-to-date change ratio
Year-to-date change ratio
Turnover rate
Turnover rate
Turnover rate
Total market value
Total market value
Total market value
Capital flow
Capital flow
Capital flow
Volume ratio
Volume ratio
Volume ratio
PE (TTM)
PE (TTM)
PE (TTM)
Dividend ratio (TTM)
Dividend ratio (TTM)
Dividend ratio (TTM)
Five days change ratio
Five days change ratio
Five days change ratio
Ten days change ratio
Ten days change ratio
Ten days change ratio
Half year change ratio
Half year change ratio
Half year change ratio
Five minutes change ratio
Five minutes change ratio
Five minutes change ratio
Expiry date
Expiry date
Expiry date
Strike price
Strike price
Strike price
Upper bound price
Upper bound price
Upper bound price
Lower bound price
Lower bound price
Lower bound price
Outstanding quantity
Outstanding quantity
Outstanding quantity
Outstanding ratio
Outstanding ratio
Outstanding ratio
Implied volatility
Implied volatility
Implied volatility
Warrant delta
Warrant delta
Warrant delta
Call price
Call price
Call price
Price interval from the call price
Price interval from the call price
Price interval from the call price
Effective leverage
Effective leverage
Effective leverage
Leverage ratio
Leverage ratio
Leverage ratio
Conversion ratio
Conversion ratio
Conversion ratio
Breakeven point
Breakeven point
Breakeven point
Open interest
Open interest
Open interest
new
pub fn new(inner: SecurityCalcIndex): SecurityCalcIndex
[src]
fn new(inner: _SecurityCalcIndex): SecurityCalcIndex {
return SecurityCalcIndex {
symbol: inner.symbol,
last_done: inner.last_done,
change_value: inner.change_value,
change_rate: inner.change_rate,
volume: inner.volume,
turnover: inner.turnover,
ytd_change_rate: inner.ytd_change_rate,
turnover_rate: inner.turnover_rate,
total_market_value: inner.total_market_value,
capital_flow: inner.capital_flow,
amplitude: inner.amplitude,
volume_ratio: inner.volume_ratio,
pe_ttm_ratio: inner.pe_ttm_ratio,
pb_ratio: inner.pb_ratio,
dividend_ratio_ttm: inner.dividend_ratio_ttm,
five_day_change_rate: inner.five_day_change_rate,
ten_day_change_rate: inner.ten_day_change_rate,
half_year_change_rate: inner.half_year_change_rate,
five_minutes_change_rate: inner.five_minutes_change_rate,
expiry_date: inner.expiry_date,
strike_price: inner.strike_price,
upper_strike_price: inner.upper_strike_price,
lower_strike_price: inner.lower_strike_price,
outstanding_qty: inner.outstanding_qty,
outstanding_ratio: inner.outstanding_ratio,
premium: inner.premium,
itm_otm: inner.itm_otm,
implied_volatility: inner.implied_volatility,
warrant_delta: inner.warrant_delta,
call_price: inner.call_price,
to_call_price: inner.to_call_price,
effective_leverage: inner.effective_leverage,
leverage_ratio: inner.leverage_ratio,
conversion_ratio: inner.conversion_ratio,
balance_point: inner.balance_point,
open_interest: inner.open_interest,
delta: inner.delta,
gamma: inner.gamma,
theta: inner.theta,
vega: inner.vega,
rho: inner.rho,
};
}
new
pub fn new(inner: SecurityCalcIndex): SecurityCalcIndex
[src]
fn new(inner: _SecurityCalcIndex): SecurityCalcIndex {
return SecurityCalcIndex {
symbol: inner.symbol,
last_done: inner.last_done,
change_value: inner.change_value,
change_rate: inner.change_rate,
volume: inner.volume,
turnover: inner.turnover,
ytd_change_rate: inner.ytd_change_rate,
turnover_rate: inner.turnover_rate,
total_market_value: inner.total_market_value,
capital_flow: inner.capital_flow,
amplitude: inner.amplitude,
volume_ratio: inner.volume_ratio,
pe_ttm_ratio: inner.pe_ttm_ratio,
pb_ratio: inner.pb_ratio,
dividend_ratio_ttm: inner.dividend_ratio_ttm,
five_day_change_rate: inner.five_day_change_rate,
ten_day_change_rate: inner.ten_day_change_rate,
half_year_change_rate: inner.half_year_change_rate,
five_minutes_change_rate: inner.five_minutes_change_rate,
expiry_date: inner.expiry_date,
strike_price: inner.strike_price,
upper_strike_price: inner.upper_strike_price,
lower_strike_price: inner.lower_strike_price,
outstanding_qty: inner.outstanding_qty,
outstanding_ratio: inner.outstanding_ratio,
premium: inner.premium,
itm_otm: inner.itm_otm,
implied_volatility: inner.implied_volatility,
warrant_delta: inner.warrant_delta,
call_price: inner.call_price,
to_call_price: inner.to_call_price,
effective_leverage: inner.effective_leverage,
leverage_ratio: inner.leverage_ratio,
conversion_ratio: inner.conversion_ratio,
balance_point: inner.balance_point,
open_interest: inner.open_interest,
delta: inner.delta,
gamma: inner.gamma,
theta: inner.theta,
vega: inner.vega,
rho: inner.rho,
};
}