Skip to main content

PlateElemData

Struct PlateElemData 

Source
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>

发行量,单位:股

§ah_premium: Option<i32>

对比溢价%,*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

Source

pub fn price_nominal(&self) -> u32

Returns the value of price_nominal, or the default value if price_nominal is unset.

Source

pub fn raise_fall_speed(&self) -> i32

Returns the value of raise_fall_speed, or the default value if raise_fall_speed is unset.

Source

pub fn trade_trunover(&self) -> u64

Returns the value of trade_trunover, or the default value if trade_trunover is unset.

Source

pub fn trade_volumn(&self) -> u64

Returns the value of trade_volumn, or the default value if trade_volumn is unset.

Source

pub fn price_highest(&self) -> u32

Returns the value of price_highest, or the default value if price_highest is unset.

Source

pub fn price_lowest(&self) -> u32

Returns the value of price_lowest, or the default value if price_lowest is unset.

Source

pub fn price_open(&self) -> u32

Returns the value of price_open, or the default value if price_open is unset.

Source

pub fn price_last(&self) -> u32

Returns the value of price_last, or the default value if price_last is unset.

Source

pub fn finance_pe(&self) -> i32

Returns the value of finance_pe, or the default value if finance_pe is unset.

Source

pub fn market_val(&self) -> u64

Returns the value of market_val, or the default value if market_val is unset.

Source

pub fn buy_price(&self) -> u32

Returns the value of buy_price, or the default value if buy_price is unset.

Source

pub fn sell_price(&self) -> u32

Returns the value of sell_price, or the default value if sell_price is unset.

Source

pub fn buy_vol(&self) -> u64

Returns the value of buy_vol, or the default value if buy_vol is unset.

Source

pub fn sell_vol(&self) -> u64

Returns the value of sell_vol, or the default value if sell_vol is unset.

Source

pub fn trade_changeraio(&self) -> u32

Returns the value of trade_changeraio, or the default value if trade_changeraio is unset.

Source

pub fn volumn_ratio(&self) -> u32

Returns the value of volumn_ratio, or the default value if volumn_ratio is unset.

Source

pub fn buysell_ratio(&self) -> i32

Returns the value of buysell_ratio, or the default value if buysell_ratio is unset.

Source

pub fn price_amplitude(&self) -> u32

Returns the value of price_amplitude, or the default value if price_amplitude is unset.

Source

pub fn suspend_flag(&self) -> u32

Returns the value of suspend_flag, or the default value if suspend_flag is unset.

Source

pub fn marginable(&self) -> bool

Returns the value of marginable, or the default value if marginable is unset.

Source

pub fn mortgage_rate(&self) -> u32

Returns the value of mortgage_rate, or the default value if mortgage_rate is unset.

Source

pub fn short_selling(&self) -> bool

Returns the value of short_selling, or the default value if short_selling is unset.

Source

pub fn short_ref_rate(&self) -> u32

Returns the value of short_ref_rate, or the default value if short_ref_rate is unset.

Source

pub fn ipo_price(&self) -> u32

Returns the value of ipo_price, or the default value if ipo_price is unset.

Source

pub fn listing_date(&self) -> u32

Returns the value of listing_date, or the default value if listing_date is unset.

Source

pub fn ipo_pe(&self) -> u32

Returns the value of ipo_pe, or the default value if ipo_pe is unset.

Source

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.

Source

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.

Source

pub fn first_day_pcr(&self) -> i64

Returns the value of first_day_pcr, or the default value if first_day_pcr is unset.

Source

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.

Source

pub fn ipo_issue_vol(&self) -> u64

Returns the value of ipo_issue_vol, or the default value if ipo_issue_vol is unset.

Source

pub fn ah_premium(&self) -> i32

Returns the value of ah_premium, or the default value if ah_premium is unset.

Source

pub fn premarket_nominal_price(&self) -> u32

Returns the value of premarket_nominal_price, or the default value if premarket_nominal_price is unset.

Source

pub fn premarket_pca(&self) -> i32

Returns the value of premarket_pca, or the default value if premarket_pca is unset.

Source

pub fn premarket_pcr(&self) -> i64

Returns the value of premarket_pcr, or the default value if premarket_pcr is unset.

Source

pub fn afterhour_nominal_price(&self) -> u32

Returns the value of afterhour_nominal_price, or the default value if afterhour_nominal_price is unset.

Source

pub fn afterhour_pca(&self) -> i32

Returns the value of afterhour_pca, or the default value if afterhour_pca is unset.

Source

pub fn afterhour_pcr(&self) -> i64

Returns the value of afterhour_pcr, or the default value if afterhour_pcr is unset.

Source

pub fn premarket_amplitude(&self) -> u32

Returns the value of premarket_amplitude, or the default value if premarket_amplitude is unset.

Source

pub fn afterhour_amplitude(&self) -> u32

Returns the value of afterhour_amplitude, or the default value if afterhour_amplitude is unset.

Source

pub fn premarket_turnover(&self) -> u64

Returns the value of premarket_turnover, or the default value if premarket_turnover is unset.

Source

pub fn afterhour_turnover(&self) -> u64

Returns the value of afterhour_turnover, or the default value if afterhour_turnover is unset.

Source

pub fn premarket_trade_vol(&self) -> u64

Returns the value of premarket_trade_vol, or the default value if premarket_trade_vol is unset.

Source

pub fn afterhour_trade_vol(&self) -> u64

Returns the value of afterhour_trade_vol, or the default value if afterhour_trade_vol is unset.

Source

pub fn hsg_hold_num(&self) -> u64

Returns the value of hsg_hold_num, or the default value if hsg_hold_num is unset.

Source

pub fn hsg_hold_ratio(&self) -> u32

Returns the value of hsg_hold_ratio, or the default value if hsg_hold_ratio is unset.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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

Source§

fn clone(&self) -> PlateElemData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PlateElemData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PlateElemData

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for PlateElemData

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for PlateElemData

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for PlateElemData

Source§

fn eq(&self, other: &PlateElemData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for PlateElemData

Source§

impl Eq for PlateElemData

Source§

impl StructuralPartialEq for PlateElemData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more