pub struct PlateElemData {Show 56 fields
pub stock_id: u64,
pub price_nominal: Option<u32>,
pub raise_fall_speed: Option<i32>,
pub trade_trunover: Option<u64>,
pub trade_volumn: Option<u64>,
pub price_highest: Option<u32>,
pub price_lowest: Option<u32>,
pub price_open: Option<u32>,
pub price_last: Option<u32>,
pub finance_pe: Option<i32>,
pub market_val: Option<u64>,
pub buy_price: Option<u32>,
pub sell_price: Option<u32>,
pub buy_vol: Option<u64>,
pub sell_vol: Option<u64>,
pub trade_changeraio: Option<u32>,
pub volumn_ratio: Option<u32>,
pub buysell_ratio: Option<i32>,
pub price_amplitude: Option<u32>,
pub suspend_flag: Option<u32>,
pub marginable: Option<bool>,
pub mortgage_rate: Option<u32>,
pub short_selling: Option<bool>,
pub short_ref_rate: Option<u32>,
pub ipo_price: Option<u32>,
pub listing_date: Option<u32>,
pub ipo_pe: Option<u32>,
pub ipo_price_change_ratio: Option<i32>,
pub continuous_rise_day_cnt: Option<u32>,
pub first_day_pcr: Option<i64>,
pub first_day_real_pcr: Option<i64>,
pub ipo_issue_vol: Option<u64>,
pub ah_premium: Option<i32>,
pub premarket_nominal_price: Option<u32>,
pub premarket_pca: Option<i32>,
pub premarket_pcr: Option<i64>,
pub afterhour_nominal_price: Option<u32>,
pub afterhour_pca: Option<i32>,
pub afterhour_pcr: Option<i64>,
pub premarket_amplitude: Option<u32>,
pub afterhour_amplitude: Option<u32>,
pub premarket_turnover: Option<u64>,
pub afterhour_turnover: Option<u64>,
pub premarket_trade_vol: Option<u64>,
pub afterhour_trade_vol: Option<u64>,
pub hsg_hold_num: Option<u64>,
pub hsg_hold_ratio: Option<u32>,
pub close_price_5_days: Option<u64>,
pub close_price_10_days: Option<u64>,
pub close_price_20_days: Option<u64>,
pub close_price_60_days: Option<u64>,
pub close_price_120_days: Option<u64>,
pub close_price_250_days: Option<u64>,
pub close_price_year_days: Option<u64>,
pub close_price_5_min: Option<u64>,
pub hsg_hold_amount: Option<u64>,
}Expand description
//////////////////////////////////////////////////////////////////////////////////////////////// 命令号:6601 功 能:板块下的数据, 按指定列排序, 拉取对应数据列表 Plate_Elem_Data
Fields§
§stock_id: u64股票ID
price_nominal: Option<u32>最新价
raise_fall_speed: Option<i32>涨跌速率
trade_trunover: Option<u64>成交额
trade_volumn: Option<u64>成交量
price_highest: Option<u32>最高价
price_lowest: Option<u32>最低价
price_open: Option<u32>开盘价
price_last: Option<u32>昨收价
finance_pe: Option<i32>市盈率
market_val: Option<u64>市值
buy_price: Option<u32>买价
sell_price: Option<u32>卖价
buy_vol: Option<u64>买量
sell_vol: Option<u64>卖量
trade_changeraio: Option<u32>换手率
volumn_ratio: Option<u32>量比
buysell_ratio: Option<i32>委比
price_amplitude: Option<u32>震幅
suspend_flag: Option<u32>停牌标记
marginable: Option<bool>是否可融资
mortgage_rate: Option<u32>抵押率(港股margin),精确到0.001%,1%即1000
short_selling: Option<bool>是否可卖空
short_ref_rate: Option<u32>卖空利率,只有在short_selling为true时才会设置. 放大1000000倍, 例如2471, 表示0.2471%
ipo_price: Option<u32>ipo价(发行价)
listing_date: Option<u32>上市日期
ipo_pe: Option<u32>发行市盈率,*1000,即精确到0.001
ipo_price_change_ratio: Option<i32>上市至今涨幅,*100000,即精确到0.001%,1%即1000
continuous_rise_day_cnt: Option<u32>连涨天数(自上市后至今,连续涨幅最长的天数)
first_day_pcr: Option<i64>首日涨幅,*100000,即精确到0.001%,1%即1000
first_day_real_pcr: Option<i64>实际涨幅,*100000,即精确到0.001%,1%即1000
ipo_issue_vol: Option<u64>发行量,单位:股
对比溢价%,*100000,1000即1%(针对AH板块)
premarket_nominal_price: Option<u32>盘前价格
premarket_pca: Option<i32>盘前涨跌额
premarket_pcr: Option<i64>盘前涨跌幅,*100000,即精确到0.001%,1%即1000
afterhour_nominal_price: Option<u32>盘后价格
afterhour_pca: Option<i32>盘后涨跌额
afterhour_pcr: Option<i64>盘后涨跌幅,*100000,即精确到0.001%,1%即1000
premarket_amplitude: Option<u32>盘前振幅,*1000000,即精确到0.0001%,1%即10000
afterhour_amplitude: Option<u32>盘后振幅,*1000000,即精确到0.0001%,1%即10000
premarket_turnover: Option<u64>盘前成交额
afterhour_turnover: Option<u64>盘后成交额
premarket_trade_vol: Option<u64>盘前成交量
afterhour_trade_vol: Option<u64>盘前成交量
hsg_hold_num: Option<u64>沪深港通持股数
hsg_hold_ratio: Option<u32>沪深港通持股比例 * 100000
close_price_5_days: Option<u64>5日收盘价 * 1000
close_price_10_days: Option<u64>10日收盘价 * 1000
close_price_20_days: Option<u64>20日收盘价 * 1000
close_price_60_days: Option<u64>60日收盘价 * 1000
close_price_120_days: Option<u64>120日收盘价 * 1000
close_price_250_days: Option<u64>250日收盘价 * 1000
close_price_year_days: Option<u64>年收盘价 * 1000
close_price_5_min: Option<u64>5分钟收盘价 * 1000
hsg_hold_amount: Option<u64>沪深港通持股额
Implementations§
Source§impl PlateElemData
impl PlateElemData
Sourcepub fn price_nominal(&self) -> u32
pub fn price_nominal(&self) -> u32
Returns the value of price_nominal, or the default value if price_nominal is unset.
Sourcepub fn raise_fall_speed(&self) -> i32
pub fn raise_fall_speed(&self) -> i32
Returns the value of raise_fall_speed, or the default value if raise_fall_speed is unset.
Sourcepub fn trade_trunover(&self) -> u64
pub fn trade_trunover(&self) -> u64
Returns the value of trade_trunover, or the default value if trade_trunover is unset.
Sourcepub fn trade_volumn(&self) -> u64
pub fn trade_volumn(&self) -> u64
Returns the value of trade_volumn, or the default value if trade_volumn is unset.
Sourcepub fn price_highest(&self) -> u32
pub fn price_highest(&self) -> u32
Returns the value of price_highest, or the default value if price_highest is unset.
Sourcepub fn price_lowest(&self) -> u32
pub fn price_lowest(&self) -> u32
Returns the value of price_lowest, or the default value if price_lowest is unset.
Sourcepub fn price_open(&self) -> u32
pub fn price_open(&self) -> u32
Returns the value of price_open, or the default value if price_open is unset.
Sourcepub fn price_last(&self) -> u32
pub fn price_last(&self) -> u32
Returns the value of price_last, or the default value if price_last is unset.
Sourcepub fn finance_pe(&self) -> i32
pub fn finance_pe(&self) -> i32
Returns the value of finance_pe, or the default value if finance_pe is unset.
Sourcepub fn market_val(&self) -> u64
pub fn market_val(&self) -> u64
Returns the value of market_val, or the default value if market_val is unset.
Sourcepub fn buy_price(&self) -> u32
pub fn buy_price(&self) -> u32
Returns the value of buy_price, or the default value if buy_price is unset.
Sourcepub fn sell_price(&self) -> u32
pub fn sell_price(&self) -> u32
Returns the value of sell_price, or the default value if sell_price 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_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 trade_changeraio(&self) -> u32
pub fn trade_changeraio(&self) -> u32
Returns the value of trade_changeraio, or the default value if trade_changeraio is unset.
Sourcepub fn volumn_ratio(&self) -> u32
pub fn volumn_ratio(&self) -> u32
Returns the value of volumn_ratio, or the default value if volumn_ratio is unset.
Sourcepub fn buysell_ratio(&self) -> i32
pub fn buysell_ratio(&self) -> i32
Returns the value of buysell_ratio, or the default value if buysell_ratio is unset.
Sourcepub fn price_amplitude(&self) -> u32
pub fn price_amplitude(&self) -> u32
Returns the value of price_amplitude, or the default value if price_amplitude is unset.
Sourcepub fn suspend_flag(&self) -> u32
pub fn suspend_flag(&self) -> u32
Returns the value of suspend_flag, or the default value if suspend_flag is unset.
Sourcepub fn marginable(&self) -> bool
pub fn marginable(&self) -> bool
Returns the value of marginable, or the default value if marginable is unset.
Sourcepub fn mortgage_rate(&self) -> u32
pub fn mortgage_rate(&self) -> u32
Returns the value of mortgage_rate, or the default value if mortgage_rate is unset.
Sourcepub fn short_selling(&self) -> bool
pub fn short_selling(&self) -> bool
Returns the value of short_selling, or the default value if short_selling is unset.
Sourcepub fn short_ref_rate(&self) -> u32
pub fn short_ref_rate(&self) -> u32
Returns the value of short_ref_rate, or the default value if short_ref_rate is unset.
Sourcepub fn ipo_price(&self) -> u32
pub fn ipo_price(&self) -> u32
Returns the value of ipo_price, or the default value if ipo_price is unset.
Sourcepub fn listing_date(&self) -> u32
pub fn listing_date(&self) -> u32
Returns the value of listing_date, or the default value if listing_date is unset.
Sourcepub fn ipo_pe(&self) -> u32
pub fn ipo_pe(&self) -> u32
Returns the value of ipo_pe, or the default value if ipo_pe is unset.
Sourcepub fn ipo_price_change_ratio(&self) -> i32
pub fn ipo_price_change_ratio(&self) -> i32
Returns the value of ipo_price_change_ratio, or the default value if ipo_price_change_ratio is unset.
Sourcepub fn continuous_rise_day_cnt(&self) -> u32
pub fn continuous_rise_day_cnt(&self) -> u32
Returns the value of continuous_rise_day_cnt, or the default value if continuous_rise_day_cnt is unset.
Sourcepub fn first_day_pcr(&self) -> i64
pub fn first_day_pcr(&self) -> i64
Returns the value of first_day_pcr, or the default value if first_day_pcr is unset.
Sourcepub fn first_day_real_pcr(&self) -> i64
pub fn first_day_real_pcr(&self) -> i64
Returns the value of first_day_real_pcr, or the default value if first_day_real_pcr is unset.
Sourcepub fn ipo_issue_vol(&self) -> u64
pub fn ipo_issue_vol(&self) -> u64
Returns the value of ipo_issue_vol, or the default value if ipo_issue_vol is unset.
Returns the value of ah_premium, or the default value if ah_premium is unset.
Sourcepub fn premarket_nominal_price(&self) -> u32
pub fn premarket_nominal_price(&self) -> u32
Returns the value of premarket_nominal_price, or the default value if premarket_nominal_price is unset.
Sourcepub fn premarket_pca(&self) -> i32
pub fn premarket_pca(&self) -> i32
Returns the value of premarket_pca, or the default value if premarket_pca is unset.
Sourcepub fn premarket_pcr(&self) -> i64
pub fn premarket_pcr(&self) -> i64
Returns the value of premarket_pcr, or the default value if premarket_pcr is unset.
Sourcepub fn afterhour_nominal_price(&self) -> u32
pub fn afterhour_nominal_price(&self) -> u32
Returns the value of afterhour_nominal_price, or the default value if afterhour_nominal_price is unset.
Sourcepub fn afterhour_pca(&self) -> i32
pub fn afterhour_pca(&self) -> i32
Returns the value of afterhour_pca, or the default value if afterhour_pca is unset.
Sourcepub fn afterhour_pcr(&self) -> i64
pub fn afterhour_pcr(&self) -> i64
Returns the value of afterhour_pcr, or the default value if afterhour_pcr is unset.
Sourcepub fn premarket_amplitude(&self) -> u32
pub fn premarket_amplitude(&self) -> u32
Returns the value of premarket_amplitude, or the default value if premarket_amplitude is unset.
Sourcepub fn afterhour_amplitude(&self) -> u32
pub fn afterhour_amplitude(&self) -> u32
Returns the value of afterhour_amplitude, or the default value if afterhour_amplitude is unset.
Sourcepub fn premarket_turnover(&self) -> u64
pub fn premarket_turnover(&self) -> u64
Returns the value of premarket_turnover, or the default value if premarket_turnover is unset.
Sourcepub fn afterhour_turnover(&self) -> u64
pub fn afterhour_turnover(&self) -> u64
Returns the value of afterhour_turnover, or the default value if afterhour_turnover is unset.
Sourcepub fn premarket_trade_vol(&self) -> u64
pub fn premarket_trade_vol(&self) -> u64
Returns the value of premarket_trade_vol, or the default value if premarket_trade_vol is unset.
Sourcepub fn afterhour_trade_vol(&self) -> u64
pub fn afterhour_trade_vol(&self) -> u64
Returns the value of afterhour_trade_vol, or the default value if afterhour_trade_vol is unset.
Sourcepub fn hsg_hold_num(&self) -> u64
pub fn hsg_hold_num(&self) -> u64
Returns the value of hsg_hold_num, or the default value if hsg_hold_num is unset.
Sourcepub fn hsg_hold_ratio(&self) -> u32
pub fn hsg_hold_ratio(&self) -> u32
Returns the value of hsg_hold_ratio, or the default value if hsg_hold_ratio is unset.
Sourcepub fn close_price_5_days(&self) -> u64
pub fn close_price_5_days(&self) -> u64
Returns the value of close_price_5_days, or the default value if close_price_5_days is unset.
Sourcepub fn close_price_10_days(&self) -> u64
pub fn close_price_10_days(&self) -> u64
Returns the value of close_price_10_days, or the default value if close_price_10_days is unset.
Sourcepub fn close_price_20_days(&self) -> u64
pub fn close_price_20_days(&self) -> u64
Returns the value of close_price_20_days, or the default value if close_price_20_days is unset.
Sourcepub fn close_price_60_days(&self) -> u64
pub fn close_price_60_days(&self) -> u64
Returns the value of close_price_60_days, or the default value if close_price_60_days is unset.
Sourcepub fn close_price_120_days(&self) -> u64
pub fn close_price_120_days(&self) -> u64
Returns the value of close_price_120_days, or the default value if close_price_120_days is unset.
Sourcepub fn close_price_250_days(&self) -> u64
pub fn close_price_250_days(&self) -> u64
Returns the value of close_price_250_days, or the default value if close_price_250_days is unset.
Sourcepub fn close_price_year_days(&self) -> u64
pub fn close_price_year_days(&self) -> u64
Returns the value of close_price_year_days, or the default value if close_price_year_days is unset.
Sourcepub fn close_price_5_min(&self) -> u64
pub fn close_price_5_min(&self) -> u64
Returns the value of close_price_5_min, or the default value if close_price_5_min is unset.
Sourcepub fn hsg_hold_amount(&self) -> u64
pub fn hsg_hold_amount(&self) -> u64
Returns the value of hsg_hold_amount, or the default value if hsg_hold_amount is unset.
Trait Implementations§
Source§impl Clone for PlateElemData
impl Clone for PlateElemData
Source§fn clone(&self) -> PlateElemData
fn clone(&self) -> PlateElemData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlateElemData
impl Debug for PlateElemData
Source§impl Default for PlateElemData
impl Default for PlateElemData
Source§impl Hash for PlateElemData
impl Hash for PlateElemData
Source§impl Message for PlateElemData
impl Message for PlateElemData
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.Source§impl PartialEq for PlateElemData
impl PartialEq for PlateElemData
impl Copy for PlateElemData
impl Eq for PlateElemData
impl StructuralPartialEq for PlateElemData
Auto Trait Implementations§
impl Freeze for PlateElemData
impl RefUnwindSafe for PlateElemData
impl Send for PlateElemData
impl Sync for PlateElemData
impl Unpin for PlateElemData
impl UnsafeUnpin for PlateElemData
impl UnwindSafe for PlateElemData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.