pub struct WarrantItem {Show 43 fields
pub stock_id: Option<u64>,
pub stock_owner: Option<u64>,
pub issuer_id: Option<u32>,
pub warrant_type: Option<i32>,
pub strike_price: Option<f64>,
pub maturity_date: Option<u64>,
pub last_trade_date: Option<u64>,
pub conversion_ratio: Option<f64>,
pub lastclose_price: Option<f64>,
pub recovery_price: Option<f64>,
pub stock_owner_price: Option<f64>,
pub current_price: Option<f64>,
pub volume: Option<u64>,
pub turnover: Option<f64>,
pub sell_vol: Option<u64>,
pub buy_vol: Option<u64>,
pub sell_price: Option<f64>,
pub buy_price: Option<f64>,
pub street_rate: Option<f64>,
pub high_price: Option<f64>,
pub low_price: Option<f64>,
pub implied_volatility: Option<f64>,
pub delta: Option<f64>,
pub status: Option<i32>,
pub street_rate_new: Option<f64>,
pub score: Option<f64>,
pub premium: Option<f64>,
pub leverage: Option<f64>,
pub effective_leverage: Option<f64>,
pub break_even_point: Option<f64>,
pub ipop: Option<f64>,
pub amplitude: Option<f64>,
pub fx_score: Option<f64>,
pub ipo_time: Option<u64>,
pub street_vol: Option<u64>,
pub lot_size: Option<u32>,
pub issue_size: Option<u64>,
pub ipo_price: Option<f64>,
pub upper_strike_price: Option<f64>,
pub lower_strike_price: Option<f64>,
pub iw_price_status: Option<u32>,
pub sensitivity: Option<f64>,
pub price_recovery_ratio: Option<f64>,
}Fields§
§stock_id: Option<u64>股票ID (u64 StockHash)
stock_owner: Option<u64>正股ID
issuer_id: Option<u32>发行人ID
warrant_type: Option<i32>类型: 1=认购, 2=认沽, 3=牛证, 4=熊证, 5=界内证
strike_price: Option<f64>行使价
maturity_date: Option<u64>到期日 (时间戳秒)
last_trade_date: Option<u64>最后交易日 (时间戳秒)
conversion_ratio: Option<f64>换股比率
lastclose_price: Option<f64>昨收价
recovery_price: Option<f64>收回价, 仅牛熊证
stock_owner_price: Option<f64>field 11-19 reserved
正股价
current_price: Option<f64>最新价
volume: Option<u64>成交量
turnover: Option<f64>成交额
sell_vol: Option<u64>卖量
buy_vol: Option<u64>买量
sell_price: Option<f64>卖出价
buy_price: Option<f64>买入价
street_rate: Option<f64>街货占比
high_price: Option<f64>最高价
low_price: Option<f64>最低价
implied_volatility: Option<f64>引伸波幅
delta: Option<f64>对冲值
status: Option<i32>状态: 0=正常, 1=停牌, 2=终止交易, 3=待上市
street_rate_new: Option<f64>街货占比(新)
score: Option<f64>综合评分
溢价 (%)
leverage: Option<f64>杠杆比率
effective_leverage: Option<f64>有效杠杆
break_even_point: Option<f64>打和点
ipop: Option<f64>价内/价外 (%)
amplitude: Option<f64>振幅 (%)
fx_score: Option<f64>发行评分
ipo_time: Option<u64>上市日期 (时间戳秒)
street_vol: Option<u64>街货量
lot_size: Option<u32>每手数量
issue_size: Option<u64>发行量
ipo_price: Option<f64>发行价
upper_strike_price: Option<f64>上限价, 仅界内证
lower_strike_price: Option<f64>下限价, 仅界内证
iw_price_status: Option<u32>界内证价格状态: 0=界内, 1=界外
sensitivity: Option<f64>敏感度
price_recovery_ratio: Option<f64>正股距收回价 (%)
Implementations§
Source§impl WarrantItem
impl WarrantItem
Sourcepub fn stock_id(&self) -> u64
pub fn stock_id(&self) -> u64
Returns the value of stock_id, or the default value if stock_id is unset.
Sourcepub fn stock_owner(&self) -> u64
pub fn stock_owner(&self) -> u64
Returns the value of stock_owner, or the default value if stock_owner is unset.
Sourcepub fn issuer_id(&self) -> u32
pub fn issuer_id(&self) -> u32
Returns the value of issuer_id, or the default value if issuer_id is unset.
Sourcepub fn warrant_type(&self) -> i32
pub fn warrant_type(&self) -> i32
Returns the value of warrant_type, or the default value if warrant_type is unset.
Sourcepub fn strike_price(&self) -> f64
pub fn strike_price(&self) -> f64
Returns the value of strike_price, or the default value if strike_price is unset.
Sourcepub fn maturity_date(&self) -> u64
pub fn maturity_date(&self) -> u64
Returns the value of maturity_date, or the default value if maturity_date is unset.
Sourcepub fn last_trade_date(&self) -> u64
pub fn last_trade_date(&self) -> u64
Returns the value of last_trade_date, or the default value if last_trade_date is unset.
Sourcepub fn conversion_ratio(&self) -> f64
pub fn conversion_ratio(&self) -> f64
Returns the value of conversion_ratio, or the default value if conversion_ratio is unset.
Sourcepub fn lastclose_price(&self) -> f64
pub fn lastclose_price(&self) -> f64
Returns the value of lastclose_price, or the default value if lastclose_price is unset.
Sourcepub fn recovery_price(&self) -> f64
pub fn recovery_price(&self) -> f64
Returns the value of recovery_price, or the default value if recovery_price is unset.
Sourcepub fn stock_owner_price(&self) -> f64
pub fn stock_owner_price(&self) -> f64
Returns the value of stock_owner_price, or the default value if stock_owner_price is unset.
Sourcepub fn current_price(&self) -> f64
pub fn current_price(&self) -> f64
Returns the value of current_price, or the default value if current_price is unset.
Sourcepub fn volume(&self) -> u64
pub fn volume(&self) -> u64
Returns the value of volume, or the default value if volume is unset.
Sourcepub fn turnover(&self) -> f64
pub fn turnover(&self) -> f64
Returns the value of turnover, or the default value if turnover is unset.
Sourcepub fn sell_vol(&self) -> u64
pub fn sell_vol(&self) -> u64
Returns the value of sell_vol, or the default value if sell_vol is unset.
Sourcepub fn buy_vol(&self) -> u64
pub fn buy_vol(&self) -> u64
Returns the value of buy_vol, or the default value if buy_vol is unset.
Sourcepub fn sell_price(&self) -> f64
pub fn sell_price(&self) -> f64
Returns the value of sell_price, or the default value if sell_price is unset.
Sourcepub fn buy_price(&self) -> f64
pub fn buy_price(&self) -> f64
Returns the value of buy_price, or the default value if buy_price is unset.
Sourcepub fn street_rate(&self) -> f64
pub fn street_rate(&self) -> f64
Returns the value of street_rate, or the default value if street_rate is unset.
Sourcepub fn high_price(&self) -> f64
pub fn high_price(&self) -> f64
Returns the value of high_price, or the default value if high_price is unset.
Sourcepub fn low_price(&self) -> f64
pub fn low_price(&self) -> f64
Returns the value of low_price, or the default value if low_price is unset.
Sourcepub fn implied_volatility(&self) -> f64
pub fn implied_volatility(&self) -> f64
Returns the value of implied_volatility, or the default value if implied_volatility is unset.
Sourcepub fn status(&self) -> i32
pub fn status(&self) -> i32
Returns the value of status, or the default value if status is unset.
Sourcepub fn street_rate_new(&self) -> f64
pub fn street_rate_new(&self) -> f64
Returns the value of street_rate_new, or the default value if street_rate_new is unset.
Returns the value of premium, or the default value if premium is unset.
Sourcepub fn leverage(&self) -> f64
pub fn leverage(&self) -> f64
Returns the value of leverage, or the default value if leverage is unset.
Sourcepub fn effective_leverage(&self) -> f64
pub fn effective_leverage(&self) -> f64
Returns the value of effective_leverage, or the default value if effective_leverage is unset.
Sourcepub fn break_even_point(&self) -> f64
pub fn break_even_point(&self) -> f64
Returns the value of break_even_point, or the default value if break_even_point is unset.
Sourcepub fn amplitude(&self) -> f64
pub fn amplitude(&self) -> f64
Returns the value of amplitude, or the default value if amplitude is unset.
Sourcepub fn fx_score(&self) -> f64
pub fn fx_score(&self) -> f64
Returns the value of fx_score, or the default value if fx_score is unset.
Sourcepub fn ipo_time(&self) -> u64
pub fn ipo_time(&self) -> u64
Returns the value of ipo_time, or the default value if ipo_time is unset.
Sourcepub fn street_vol(&self) -> u64
pub fn street_vol(&self) -> u64
Returns the value of street_vol, or the default value if street_vol is unset.
Sourcepub fn lot_size(&self) -> u32
pub fn lot_size(&self) -> u32
Returns the value of lot_size, or the default value if lot_size is unset.
Sourcepub fn issue_size(&self) -> u64
pub fn issue_size(&self) -> u64
Returns the value of issue_size, or the default value if issue_size is unset.
Sourcepub fn ipo_price(&self) -> f64
pub fn ipo_price(&self) -> f64
Returns the value of ipo_price, or the default value if ipo_price is unset.
Sourcepub fn upper_strike_price(&self) -> f64
pub fn upper_strike_price(&self) -> f64
Returns the value of upper_strike_price, or the default value if upper_strike_price is unset.
Sourcepub fn lower_strike_price(&self) -> f64
pub fn lower_strike_price(&self) -> f64
Returns the value of lower_strike_price, or the default value if lower_strike_price is unset.
Sourcepub fn iw_price_status(&self) -> u32
pub fn iw_price_status(&self) -> u32
Returns the value of iw_price_status, or the default value if iw_price_status is unset.
Sourcepub fn sensitivity(&self) -> f64
pub fn sensitivity(&self) -> f64
Returns the value of sensitivity, or the default value if sensitivity is unset.
Sourcepub fn price_recovery_ratio(&self) -> f64
pub fn price_recovery_ratio(&self) -> f64
Returns the value of price_recovery_ratio, or the default value if price_recovery_ratio is unset.
Trait Implementations§
Source§impl Clone for WarrantItem
impl Clone for WarrantItem
Source§fn clone(&self) -> WarrantItem
fn clone(&self) -> WarrantItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WarrantItem
impl Debug for WarrantItem
Source§impl Default for WarrantItem
impl Default for WarrantItem
Source§impl<'de> Deserialize<'de> for WarrantItemwhere
WarrantItem: Default,
impl<'de> Deserialize<'de> for WarrantItemwhere
WarrantItem: Default,
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>,
Source§impl Message for WarrantItem
impl Message for WarrantItem
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.