pub struct TardisDataClientConfig {
pub api_key: Option<String>,
pub tardis_ws_url: Option<String>,
pub normalize_symbols: bool,
pub book_snapshot_output: BookSnapshotOutput,
pub options: Vec<ReplayNormalizedRequestOptions>,
}Expand description
Configuration for the Tardis data client.
Fields§
§api_key: Option<String>Tardis API key for HTTP instrument fetching.
Falls back to TARDIS_API_KEY env var if not set.
tardis_ws_url: Option<String>Tardis Machine Server WebSocket URL.
Falls back to TARDIS_MACHINE_WS_URL env var if not set.
normalize_symbols: boolWhether to normalize symbols to Nautilus conventions.
book_snapshot_output: BookSnapshotOutputOutput format for book_snapshot_* messages.
options: Vec<ReplayNormalizedRequestOptions>Replay options defining exchanges, symbols, date ranges, and data types.
Trait Implementations§
Source§impl ClientConfig for TardisDataClientConfig
impl ClientConfig for TardisDataClientConfig
Source§impl Clone for TardisDataClientConfig
impl Clone for TardisDataClientConfig
Source§fn clone(&self) -> TardisDataClientConfig
fn clone(&self) -> TardisDataClientConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TardisDataClientConfig
impl Debug for TardisDataClientConfig
Auto Trait Implementations§
impl Freeze for TardisDataClientConfig
impl RefUnwindSafe for TardisDataClientConfig
impl Send for TardisDataClientConfig
impl Sync for TardisDataClientConfig
impl Unpin for TardisDataClientConfig
impl UnsafeUnpin for TardisDataClientConfig
impl UnwindSafe for TardisDataClientConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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