WarrantQuote
struct WarrantQuote
Quote of warrant
Fields
Yesterday's close
Yesterday's close
Yesterday's close
Warrant trading status
Warrant trading status
Warrant trading status
Implied volatility
Implied volatility
Implied volatility
Exprity date
Exprity date
Exprity date
Last tradalbe date
Last tradalbe date
Last tradalbe date
Outstanding ratio
Outstanding ratio
Outstanding ratio
Outstanding quantity
Outstanding quantity
Outstanding quantity
Conversion ratio
Conversion ratio
Conversion ratio
Warrant type
Warrant type
Warrant type
Strike price
Strike price
Strike price
Upper bound price
Upper bound price
Upper bound price
Lower bound price
Lower bound price
Lower bound price
Call price
Call price
Call price
Underlying security symbol of the warrant
Underlying security symbol of the warrant
Underlying security symbol of the warrant
Methods
new
pub fn new(inner: WarrantQuote): WarrantQuote
[src]
fn new(inner: _WarrantQuote): WarrantQuote {
let trade_status = inner.trade_status as TradeStatus;
let category = inner.category as WarrantType;
return WarrantQuote {
symbol: inner.symbol,
last_done: inner.last_done,
prev_close: inner.prev_close,
open: inner.open,
high: inner.high,
low: inner.low,
timestamp: inner.timestamp,
volume: inner.volume,
turnover: inner.turnover,
trade_status: trade_status!,
implied_volatility: inner.implied_volatility,
expiry_date: inner.expiry_date,
last_trade_date: inner.last_trade_date,
outstanding_ratio: inner.outstanding_ratio,
outstanding_quantity: inner.outstanding_quantity,
conversion_ratio: inner.conversion_ratio,
category: category!,
strike_price: inner.strike_price,
upper_strike_price: inner.upper_strike_price,
lower_strike_price: inner.lower_strike_price,
call_price: inner.call_price,
underlying_symbol: inner.underlying_symbol,
};
}
new
pub fn new(inner: WarrantQuote): WarrantQuote
[src]
fn new(inner: _WarrantQuote): WarrantQuote {
let trade_status = inner.trade_status as TradeStatus;
let category = inner.category as WarrantType;
return WarrantQuote {
symbol: inner.symbol,
last_done: inner.last_done,
prev_close: inner.prev_close,
open: inner.open,
high: inner.high,
low: inner.low,
timestamp: inner.timestamp,
volume: inner.volume,
turnover: inner.turnover,
trade_status: trade_status!,
implied_volatility: inner.implied_volatility,
expiry_date: inner.expiry_date,
last_trade_date: inner.last_trade_date,
outstanding_ratio: inner.outstanding_ratio,
outstanding_quantity: inner.outstanding_quantity,
conversion_ratio: inner.conversion_ratio,
category: category!,
strike_price: inner.strike_price,
upper_strike_price: inner.upper_strike_price,
lower_strike_price: inner.lower_strike_price,
call_price: inner.call_price,
underlying_symbol: inner.underlying_symbol,
};
}