pub struct WarrantListReq {Show 50 fields
pub only_count: Option<i32>,
pub issuer_id: Option<i32>,
pub stock_owner: Option<u64>,
pub arry_warrant_type: Vec<i32>,
pub cur_min: Option<u32>,
pub cur_max: Option<u32>,
pub street_min: Option<i32>,
pub street_max: Option<i32>,
pub vol_min: Option<u64>,
pub vol_max: Option<u64>,
pub maturity_date_min: Option<u32>,
pub maturity_date_max: Option<u32>,
pub strick_min: Option<u32>,
pub strick_max: Option<u32>,
pub conversion_min: Option<u32>,
pub conversion_max: Option<u32>,
pub ipop_min: Option<i32>,
pub ipop_max: Option<i32>,
pub premium_min: Option<i32>,
pub premium_max: Option<i32>,
pub recovery_min: Option<u32>,
pub recovery_max: Option<u32>,
pub implied_min: Option<u32>,
pub implied_max: Option<u32>,
pub leverage_ratio_min: Option<u32>,
pub leverage_ratio_max: Option<u32>,
pub lang_id: Option<i32>,
pub price_recovery_ratio_min: Option<i64>,
pub price_recovery_ratio_max: Option<i64>,
pub delta_min: Option<i32>,
pub delta_max: Option<i32>,
pub sort_col: i32,
pub sort_ascend: i32,
pub data_from: Option<i32>,
pub data_max_count: Option<i32>,
pub status_filter: Option<i32>,
pub multiple_issuers: Vec<i32>,
pub ipo_period: Option<i32>,
pub buy_vol_min: Option<u64>,
pub buy_vol_max: Option<u64>,
pub sell_vol_min: Option<u64>,
pub sell_vol_max: Option<u64>,
pub effective_leverage_min: Option<i64>,
pub effective_leverage_max: Option<i64>,
pub filter_no_trade_status: Option<i32>,
pub is_bmp: Option<i32>,
pub maturity_date_screens: Vec<Interval>,
pub leverage_ratio_screens: Vec<Interval>,
pub status_filter_screens: Vec<i32>,
pub market: Option<u32>,
}Fields§
§only_count: Option<i32>是否只请求涡轮数量,1:是,0:否
issuer_id: Option<i32>发行商
stock_owner: Option<u64>正股
arry_warrant_type: Vec<i32>类型, 如上定义
cur_min: Option<u32>当前价*1000
cur_max: Option<u32>§street_min: Option<i32>街货占比% 1001000
street_max: Option<i32>§vol_min: Option<u64>成交量
vol_max: Option<u64>§maturity_date_min: Option<u32>到期日, 到期日范围的开始时间戳, 精确到秒
maturity_date_max: Option<u32>到期日范围的结束时间戳, 精确到秒
strick_min: Option<u32>行使价*1000
strick_max: Option<u32>§conversion_min: Option<u32>换股比率*1000
conversion_max: Option<u32>§ipop_min: Option<i32>价内/价外1001000 (可为负值)
ipop_max: Option<i32>溢价1001000 (可为负值)
recovery_min: Option<u32>收回价*1000
recovery_max: Option<u32>§implied_min: Option<u32>引伸波幅*1000
implied_max: Option<u32>§leverage_ratio_min: Option<u32>杠杆比率*1000
leverage_ratio_max: Option<u32>§lang_id: Option<i32>语言id ,用于按名称排序时用: 简体=0 繁体=1 英文=2
price_recovery_ratio_min: Option<i64>正股距回收价% 1001000
price_recovery_ratio_max: Option<i64>正股距回收价% 1001000
delta_min: Option<i32>对冲值
delta_max: Option<i32>对冲值
sort_col: i32排序列id, 如上定义
sort_ascend: i32升序=1, 降序=0
data_from: Option<i32>数据起始项
data_max_count: Option<i32>数据返回最大数
status_filter: Option<i32>状态过滤, 0:返回全部涡轮(正常和终止交易), 1:返回正常交易状态的涡轮,
multiple_issuers: Vec<i32>发行商, 支持多选,不填为所有发行商
ipo_period: Option<i32>上市时间,参考枚举IpoPeriod,也可以填其它数值(除0外,正数都包含当天)
buy_vol_min: Option<u64>买量
buy_vol_max: Option<u64>买量
sell_vol_min: Option<u64>卖量
sell_vol_max: Option<u64>卖量
effective_leverage_min: Option<i64>有效杠杆,*1000
effective_leverage_max: Option<i64>有效杠杆,*1000
filter_no_trade_status: Option<i32>过滤上市至今无交易状态(0:过滤,1:不过滤)
is_bmp: Option<i32>是否bmp权限(bmp权限价格返回为延时价格)1为是,0为否
maturity_date_screens: Vec<Interval>到期日多个范围筛选(多选)区间字段格式设置与上述单个范围筛选保持一致
leverage_ratio_screens: Vec<Interval>杠杆比例多个范围筛选(多选)区间字段格式设置与上述单个范围筛选保持一致
status_filter_screens: Vec<i32>状态过滤多选。设置的枚举如上筛选字段 status_filter
market: Option<u32>市场(与客户端请求的协议头的市场一致,svr不关心,为方便客户端云同步的策略识别而用)
Implementations§
Source§impl WarrantListReq
impl WarrantListReq
Sourcepub fn issuer_id(&self) -> i32
pub fn issuer_id(&self) -> i32
Returns the value of issuer_id, or the default value if issuer_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 cur_min(&self) -> u32
pub fn cur_min(&self) -> u32
Returns the value of cur_min, or the default value if cur_min is unset.
Sourcepub fn cur_max(&self) -> u32
pub fn cur_max(&self) -> u32
Returns the value of cur_max, or the default value if cur_max is unset.
Sourcepub fn street_min(&self) -> i32
pub fn street_min(&self) -> i32
Returns the value of street_min, or the default value if street_min is unset.
Sourcepub fn street_max(&self) -> i32
pub fn street_max(&self) -> i32
Returns the value of street_max, or the default value if street_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.
Sourcepub fn maturity_date_min(&self) -> u32
pub fn maturity_date_min(&self) -> u32
Returns the value of maturity_date_min, or the default value if maturity_date_min is unset.
Sourcepub fn maturity_date_max(&self) -> u32
pub fn maturity_date_max(&self) -> u32
Returns the value of maturity_date_max, or the default value if maturity_date_max is unset.
Sourcepub fn strick_min(&self) -> u32
pub fn strick_min(&self) -> u32
Returns the value of strick_min, or the default value if strick_min is unset.
Sourcepub fn strick_max(&self) -> u32
pub fn strick_max(&self) -> u32
Returns the value of strick_max, or the default value if strick_max is unset.
Sourcepub fn conversion_min(&self) -> u32
pub fn conversion_min(&self) -> u32
Returns the value of conversion_min, or the default value if conversion_min is unset.
Sourcepub fn conversion_max(&self) -> u32
pub fn conversion_max(&self) -> u32
Returns the value of conversion_max, or the default value if conversion_max is unset.
Sourcepub fn ipop_min(&self) -> i32
pub fn ipop_min(&self) -> i32
Returns the value of ipop_min, or the default value if ipop_min is unset.
Sourcepub fn ipop_max(&self) -> i32
pub fn ipop_max(&self) -> i32
Returns the value of ipop_max, or the default value if ipop_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 recovery_min(&self) -> u32
pub fn recovery_min(&self) -> u32
Returns the value of recovery_min, or the default value if recovery_min is unset.
Sourcepub fn recovery_max(&self) -> u32
pub fn recovery_max(&self) -> u32
Returns the value of recovery_max, or the default value if recovery_max is unset.
Sourcepub fn implied_min(&self) -> u32
pub fn implied_min(&self) -> u32
Returns the value of implied_min, or the default value if implied_min is unset.
Sourcepub fn implied_max(&self) -> u32
pub fn implied_max(&self) -> u32
Returns the value of implied_max, or the default value if implied_max is unset.
Sourcepub fn leverage_ratio_min(&self) -> u32
pub fn leverage_ratio_min(&self) -> u32
Returns the value of leverage_ratio_min, or the default value if leverage_ratio_min is unset.
Sourcepub fn leverage_ratio_max(&self) -> u32
pub fn leverage_ratio_max(&self) -> u32
Returns the value of leverage_ratio_max, or the default value if leverage_ratio_max is unset.
Sourcepub fn lang_id(&self) -> i32
pub fn lang_id(&self) -> i32
Returns the value of lang_id, or the default value if lang_id is unset.
Sourcepub fn price_recovery_ratio_min(&self) -> i64
pub fn price_recovery_ratio_min(&self) -> i64
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) -> i64
pub fn price_recovery_ratio_max(&self) -> i64
Returns the value of price_recovery_ratio_max, or the default value if price_recovery_ratio_max is unset.
Sourcepub fn delta_min(&self) -> i32
pub fn delta_min(&self) -> i32
Returns the value of delta_min, or the default value if delta_min is unset.
Sourcepub fn delta_max(&self) -> i32
pub fn delta_max(&self) -> i32
Returns the value of delta_max, or the default value if delta_max is unset.
Sourcepub fn data_from(&self) -> i32
pub fn data_from(&self) -> i32
Returns the value of data_from, or the default value if data_from is unset.
Sourcepub fn data_max_count(&self) -> i32
pub fn data_max_count(&self) -> i32
Returns the value of data_max_count, or the default value if data_max_count is unset.
Sourcepub fn status_filter(&self) -> i32
pub fn status_filter(&self) -> i32
Returns the value of status_filter, or the default value if status_filter 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 only_count(&self) -> i32
pub fn only_count(&self) -> i32
Returns the value of only_count, or the default value if only_count is unset.
Sourcepub fn buy_vol_min(&self) -> u64
pub fn buy_vol_min(&self) -> u64
Returns the value of buy_vol_min, or the default value if buy_vol_min is unset.
Sourcepub fn buy_vol_max(&self) -> u64
pub fn buy_vol_max(&self) -> u64
Returns the value of buy_vol_max, or the default value if buy_vol_max is unset.
Sourcepub fn sell_vol_min(&self) -> u64
pub fn sell_vol_min(&self) -> u64
Returns the value of sell_vol_min, or the default value if sell_vol_min is unset.
Sourcepub fn sell_vol_max(&self) -> u64
pub fn sell_vol_max(&self) -> u64
Returns the value of sell_vol_max, or the default value if sell_vol_max is unset.
Sourcepub fn effective_leverage_min(&self) -> i64
pub fn effective_leverage_min(&self) -> i64
Returns the value of effective_leverage_min, or the default value if effective_leverage_min is unset.
Sourcepub fn effective_leverage_max(&self) -> i64
pub fn effective_leverage_max(&self) -> i64
Returns the value of effective_leverage_max, or the default value if effective_leverage_max is unset.
Sourcepub fn filter_no_trade_status(&self) -> i32
pub fn filter_no_trade_status(&self) -> i32
Returns the value of filter_no_trade_status, or the default value if filter_no_trade_status is unset.
Trait Implementations§
Source§impl Clone for WarrantListReq
impl Clone for WarrantListReq
Source§fn clone(&self) -> WarrantListReq
fn clone(&self) -> WarrantListReq
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WarrantListReq
impl Debug for WarrantListReq
Source§impl Default for WarrantListReq
impl Default for WarrantListReq
Source§impl Message for WarrantListReq
impl Message for WarrantListReq
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.