pub struct TickerStatisticDetailInput<'a> {
pub symbol: &'a str,
pub ticker_type: Option<i32>,
pub ticker_time: Option<u64>,
pub select_num: Option<u32>,
pub data_from: Option<u32>,
pub data_max_count: Option<u32>,
pub stat_type: Option<u32>,
}Expand description
v1.4.106 codex 0500 ζ23-redo: 逐笔统计 Detail (cmd 6366) — 价位级分布.
配套 get_ticker_statistic (Info) 用法: 客户端先调 Info 拿 ticker_time,
再调 Detail 传同 ticker_time 拿这个时点的 DetailItem 列表 (price /
buy_volume / sell_volume / volume / ratio / neutral_volume). 也可不传
ticker_time 用 backend 默认 (latest available).
Fields§
§symbol: &'a str§ticker_type: Option<i32>§ticker_time: Option<u64>§select_num: Option<u32>§data_from: Option<u32>§data_max_count: Option<u32>§stat_type: Option<u32>Auto Trait Implementations§
impl<'a> Freeze for TickerStatisticDetailInput<'a>
impl<'a> RefUnwindSafe for TickerStatisticDetailInput<'a>
impl<'a> Send for TickerStatisticDetailInput<'a>
impl<'a> Sync for TickerStatisticDetailInput<'a>
impl<'a> Unpin for TickerStatisticDetailInput<'a>
impl<'a> UnsafeUnpin for TickerStatisticDetailInput<'a>
impl<'a> UnwindSafe for TickerStatisticDetailInput<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more