Struct GetMoneyFlow

Source
pub struct GetMoneyFlow {
    pub code: String,
    pub date: String,
    pub end_date: String,
}
Expand description

获取一只股票在一个时间段内的资金流向数据,仅包含股票数据,不可用于获取期货数据 参数: code: 股票代码 date: 开始日期 end_date: 结束日期 返回: date: 日期 sec_code: 股票代码 change_pct: 涨跌幅(%) net_amount_main: 主力净额(万): 主力净额 = 超大单净额 + 大单净额 net_pct_main: 主力净占比(%): 主力净占比 = 主力净额 / 成交额 net_amount_xl: 超大单净额(万): 超大单:大于等于50万股或者100万元的成交单 net_pct_xl: 超大单净占比(%): 超大单净占比 = 超大单净额 / 成交额 net_amount_l: 大单净额(万): 大单:大于等于10万股或者20万元且小于50万股或者100万元的成交单 net_pct_l: 大单净占比(%): 大单净占比 = 大单净额 / 成交额 net_amount_m: 中单净额(万): 中单:大于等于2万股或者4万元且小于10万股或者20万元的成交单 net_pct_m: 中单净占比(%): 中单净占比 = 中单净额 / 成交额 net_amount_s: 小单净额(万): 小单:小于2万股或者4万元的成交单 net_pct_s: 小单净占比(%): 小单净占比 = 小单净额 / 成交额

Fields§

§code: String§date: String§end_date: String

Trait Implementations§

Source§

impl BodyConsumer<Vec<MoneyFlow>> for GetMoneyFlow

Source§

impl CsvListBodyConsumer for GetMoneyFlow

Source§

type Output = MoneyFlow

Source§

fn consume<R: Read>(body: R) -> Result<Vec<Self::Output>>

Source§

impl Debug for GetMoneyFlow

Source§

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

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

impl<'de> Deserialize<'de> for GetMoneyFlow

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl HasMethod for GetMoneyFlow

Source§

fn method(&self) -> String

Source§

impl Serialize for GetMoneyFlow

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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.

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

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,