pub struct TicksHistoryRequest {
pub adjust_start_time: Option<i64>,
pub count: Option<i64>,
pub end: String,
pub granularity: Option<Granularity>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub start: Option<String>,
pub style: Option<Style>,
pub subscribe: Option<i64>,
pub ticks_history: String,
}Expand description
Get historic tick data for a given symbol.
Fields§
§adjust_start_time: Option<i64>[Optional] 1 - if the market is closed at the end time, or license limit is before end time, adjust interval backwards to compensate.\n
count: Option<i64>[Optional] An upper limit on ticks to receive.\n
end: StringEpoch value representing the latest boundary of the returned ticks. If latest is specified, this will be the latest available timestamp.\n
granularity: Option<Granularity>[Optional] Only applicable for style: candles. Candle time-dimension width setting. (default: 60).\n
passthrough: Option<Value>[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.\n
req_id: Option<i64>[Optional] Used to map request to response.\n
start: Option<String>[Optional] Epoch value representing the earliest boundary of the returned ticks.\n/// - For "style": "ticks": this will default to 1 day ago.\n/// - For "style": "candles": it will default to 1 day ago if count or granularity is undefined.\n
style: Option<Style>[Optional] The tick-output style.\n
subscribe: Option<i64>[Optional] 1 - to send updates whenever a new tick is received.\n
ticks_history: StringShort symbol name (obtained from the active_symbols call).\n
Trait Implementations§
Source§impl Clone for TicksHistoryRequest
impl Clone for TicksHistoryRequest
Source§fn clone(&self) -> TicksHistoryRequest
fn clone(&self) -> TicksHistoryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more