pub struct GetCurrentTick {
pub code: String,
}
Expand description
获取最新的 tick 数据 参数: code: 标的代码, 支持股票、指数、基金、期货等。 不可以使用主力合约和指数合约代码。 返回: time: 时间 current: 当前价 high: 截至到当前时刻的日内最高价 low: 截至到当前时刻的日内最低价 volume: 累计成交量 money: 累计成交额 position: 持仓量,期货使用 a1_v~a5_v: 五档卖量 a1_p~a5_p: 五档卖价 b1_v~b5_v: 五档买量 b1_p~b5_p: 五档买价
Fields§
§code: String
Trait Implementations§
Source§impl Debug for GetCurrentTick
impl Debug for GetCurrentTick
Source§impl<'de> Deserialize<'de> for GetCurrentTick
impl<'de> Deserialize<'de> for GetCurrentTick
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Request for GetCurrentTick
impl Request for GetCurrentTick
Source§impl Response for GetCurrentTick
impl Response for GetCurrentTick
Auto Trait Implementations§
impl Freeze for GetCurrentTick
impl RefUnwindSafe for GetCurrentTick
impl Send for GetCurrentTick
impl Sync for GetCurrentTick
impl Unpin for GetCurrentTick
impl UnwindSafe for GetCurrentTick
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
Mutably borrows from an owned value. Read more