pub struct TicksHistoryResponse {
pub candles: Option<String>,
pub echo_req: Value,
pub history: Option<History>,
pub msg_type: MsgType,
pub ohlc: Option<Value>,
pub pip_size: Option<String>,
pub req_id: Option<i64>,
pub subscription: Option<Subscription>,
}
Expand description
Historic tick data for a single symbol
Fields§
§candles: Option<String>
Array of OHLC (open/high/low/close) price values for the given time (only for style=candles
)\n
echo_req: Value
Echo of the request made.\n
history: Option<History>
Historic tick data for a given symbol. Note: this will always return the latest possible set of ticks with accordance to the parameters specified.\n
msg_type: MsgType
Type of the response according to the style
sent in request. Would be history
or candles
for the first response, and tick
or ohlc
for the rest when subscribed.\n
ohlc: Option<Value>
Field ‘ohlc’ mapped to Value due to complexity/potential issues.\n
pip_size: Option<String>
Indicates the number of decimal points that the returned amounts must be displayed with\n
req_id: Option<i64>
Optional field sent in request to map to response, present only when request contains req_id
.\n
subscription: Option<Subscription>
For subscription requests only.\n
Trait Implementations§
Source§impl Clone for TicksHistoryResponse
impl Clone for TicksHistoryResponse
Source§fn clone(&self) -> TicksHistoryResponse
fn clone(&self) -> TicksHistoryResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more