pub struct C2s {Show 34 fields
pub begin: i32,
pub num: i32,
pub sort_field: i32,
pub ascend: bool,
pub owner: Option<Security>,
pub type_list: Vec<i32>,
pub issuer_list: Vec<i32>,
pub maturity_time_min: Option<String>,
pub maturity_time_max: Option<String>,
pub ipo_period: Option<i32>,
pub price_type: Option<i32>,
pub status: Option<i32>,
pub cur_price_min: Option<f64>,
pub cur_price_max: Option<f64>,
pub strike_price_min: Option<f64>,
pub strike_price_max: Option<f64>,
pub street_min: Option<f64>,
pub street_max: Option<f64>,
pub conversion_min: Option<f64>,
pub conversion_max: Option<f64>,
pub vol_min: Option<u64>,
pub vol_max: Option<u64>,
pub premium_min: Option<f64>,
pub premium_max: Option<f64>,
pub leverage_ratio_min: Option<f64>,
pub leverage_ratio_max: Option<f64>,
pub delta_min: Option<f64>,
pub delta_max: Option<f64>,
pub implied_min: Option<f64>,
pub implied_max: Option<f64>,
pub recovery_price_min: Option<f64>,
pub recovery_price_max: Option<f64>,
pub price_recovery_ratio_min: Option<f64>,
pub price_recovery_ratio_max: Option<f64>,
}Fields§
§begin: i32数据起始点
num: i32请求数据个数,最大200
sort_field: i32Qot_Common.SortField,根据哪个字段排序
ascend: bool升序ture,降序false
owner: Option<Security>以下为筛选条件,可选字段,不填表示不过滤
所属正股
type_list: Vec<i32>Qot_Common.WarrantType,窝轮类型过滤列表
issuer_list: Vec<i32>Qot_Common.Issuer,发行人过滤列表
maturity_time_min: Option<String>到期日,到期日范围的开始时间戳
maturity_time_max: Option<String>到期日范围的结束时间戳
ipo_period: Option<i32>Qot_Common.IpoPeriod,上市日
price_type: Option<i32>Qot_Common.PriceType,价内/价外(暂不支持界内证的界内外筛选)
status: Option<i32>Qot_Common.WarrantStatus,窝轮状态
cur_price_min: Option<f64>最新价的过滤下限(闭区间),不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
cur_price_max: Option<f64>最新价的过滤上限(闭区间),不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
strike_price_min: Option<f64>行使价的过滤下限(闭区间),不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
strike_price_max: Option<f64>行使价的过滤上限(闭区间),不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
street_min: Option<f64>街货占比的过滤下限(闭区间),该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
street_max: Option<f64>街货占比的过滤上限(闭区间),该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
conversion_min: Option<f64>换股比率的过滤下限(闭区间),不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
conversion_max: Option<f64>换股比率的过滤上限(闭区间),不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
vol_min: Option<u64>成交量的过滤下限(闭区间),不传代表下限为 -∞
vol_max: Option<u64>成交量的过滤上限(闭区间),不传代表上限为 +∞
溢价的过滤下限(闭区间),该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
溢价的过滤上限(闭区间),该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
leverage_ratio_min: Option<f64>杠杆比率的过滤下限(闭区间),不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
leverage_ratio_max: Option<f64>杠杆比率的过滤上限(闭区间),不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
delta_min: Option<f64>对冲值的过滤下限(闭区间),仅认购认沽支持此字段过滤,不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
delta_max: Option<f64>对冲值的过滤上限(闭区间),仅认购认沽支持此字段过滤,不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
implied_min: Option<f64>引伸波幅的过滤下限(闭区间),仅认购认沽支持此字段过滤,不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
implied_max: Option<f64>引伸波幅的过滤上限(闭区间),仅认购认沽支持此字段过滤,不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
recovery_price_min: Option<f64>收回价的过滤下限(闭区间),仅牛熊证支持此字段过滤,不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
recovery_price_max: Option<f64>收回价的过滤上限(闭区间),仅牛熊证支持此字段过滤,不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
price_recovery_ratio_min: Option<f64>正股距收回价,的过滤下限(闭区间),仅牛熊证支持此字段过滤。该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表下限为 -∞(精确到小数点后 3 位,超出部分会被舍弃)
price_recovery_ratio_max: Option<f64>正股距收回价,的过滤上限(闭区间),仅牛熊证支持此字段过滤。该字段为百分比字段,默认不展示 %,如 20 实际对应 20%。不传代表上限为 +∞(精确到小数点后 3 位,超出部分会被舍弃)
Implementations§
Source§impl C2s
impl C2s
Sourcepub fn maturity_time_min(&self) -> &str
pub fn maturity_time_min(&self) -> &str
Returns the value of maturity_time_min, or the default value if maturity_time_min is unset.
Sourcepub fn maturity_time_max(&self) -> &str
pub fn maturity_time_max(&self) -> &str
Returns the value of maturity_time_max, or the default value if maturity_time_max is unset.
Sourcepub fn ipo_period(&self) -> i32
pub fn ipo_period(&self) -> i32
Returns the value of ipo_period, or the default value if ipo_period is unset.
Sourcepub fn price_type(&self) -> i32
pub fn price_type(&self) -> i32
Returns the value of price_type, or the default value if price_type 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 cur_price_min(&self) -> f64
pub fn cur_price_min(&self) -> f64
Returns the value of cur_price_min, or the default value if cur_price_min is unset.
Sourcepub fn cur_price_max(&self) -> f64
pub fn cur_price_max(&self) -> f64
Returns the value of cur_price_max, or the default value if cur_price_max is unset.
Sourcepub fn strike_price_min(&self) -> f64
pub fn strike_price_min(&self) -> f64
Returns the value of strike_price_min, or the default value if strike_price_min is unset.
Sourcepub fn strike_price_max(&self) -> f64
pub fn strike_price_max(&self) -> f64
Returns the value of strike_price_max, or the default value if strike_price_max is unset.
Sourcepub fn street_min(&self) -> f64
pub fn street_min(&self) -> f64
Returns the value of street_min, or the default value if street_min is unset.
Sourcepub fn street_max(&self) -> f64
pub fn street_max(&self) -> f64
Returns the value of street_max, or the default value if street_max is unset.
Sourcepub fn conversion_min(&self) -> f64
pub fn conversion_min(&self) -> f64
Returns the value of conversion_min, or the default value if conversion_min is unset.
Sourcepub fn conversion_max(&self) -> f64
pub fn conversion_max(&self) -> f64
Returns the value of conversion_max, or the default value if conversion_max is unset.
Sourcepub fn vol_min(&self) -> u64
pub fn vol_min(&self) -> u64
Returns the value of vol_min, or the default value if vol_min is unset.
Sourcepub fn vol_max(&self) -> u64
pub fn vol_max(&self) -> u64
Returns the value of vol_max, or the default value if vol_max is unset.
Returns the value of premium_min, or the default value if premium_min is unset.
Returns the value of premium_max, or the default value if premium_max is unset.
Sourcepub fn leverage_ratio_min(&self) -> f64
pub fn leverage_ratio_min(&self) -> f64
Returns the value of leverage_ratio_min, or the default value if leverage_ratio_min is unset.
Sourcepub fn leverage_ratio_max(&self) -> f64
pub fn leverage_ratio_max(&self) -> f64
Returns the value of leverage_ratio_max, or the default value if leverage_ratio_max is unset.
Sourcepub fn delta_min(&self) -> f64
pub fn delta_min(&self) -> f64
Returns the value of delta_min, or the default value if delta_min is unset.
Sourcepub fn delta_max(&self) -> f64
pub fn delta_max(&self) -> f64
Returns the value of delta_max, or the default value if delta_max is unset.
Sourcepub fn implied_min(&self) -> f64
pub fn implied_min(&self) -> f64
Returns the value of implied_min, or the default value if implied_min is unset.
Sourcepub fn implied_max(&self) -> f64
pub fn implied_max(&self) -> f64
Returns the value of implied_max, or the default value if implied_max is unset.
Sourcepub fn recovery_price_min(&self) -> f64
pub fn recovery_price_min(&self) -> f64
Returns the value of recovery_price_min, or the default value if recovery_price_min is unset.
Sourcepub fn recovery_price_max(&self) -> f64
pub fn recovery_price_max(&self) -> f64
Returns the value of recovery_price_max, or the default value if recovery_price_max is unset.
Sourcepub fn price_recovery_ratio_min(&self) -> f64
pub fn price_recovery_ratio_min(&self) -> f64
Returns the value of price_recovery_ratio_min, or the default value if price_recovery_ratio_min is unset.
Sourcepub fn price_recovery_ratio_max(&self) -> f64
pub fn price_recovery_ratio_max(&self) -> f64
Returns the value of price_recovery_ratio_max, or the default value if price_recovery_ratio_max is unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for C2s
impl<'de> Deserialize<'de> for C2s
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 C2s
impl Message for C2s
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.