pub struct LiveSessionSettings {Show 20 fields
pub category: PublicChannel,
pub interval: Interval,
pub quantity: Quantity,
pub slippage_bps: Decimal,
pub fee_bps: Decimal,
pub history: usize,
pub metrics_addr: SocketAddr,
pub persistence: PersistenceSettings,
pub initial_balances: HashMap<AssetId, Decimal>,
pub reporting_currency: AssetId,
pub markets_file: Option<PathBuf>,
pub alerting: AlertingConfig,
pub exec_backend: ExecutionBackend,
pub risk: RiskManagementConfig,
pub reconciliation_interval: Duration,
pub reconciliation_threshold: Decimal,
pub orderbook_depth: usize,
pub record_path: Option<PathBuf>,
pub control_addr: SocketAddr,
pub panic_close: PanicCloseConfig,
}Fields§
§category: PublicChannel§interval: Interval§quantity: Quantity§slippage_bps: Decimal§fee_bps: Decimal§history: usize§metrics_addr: SocketAddr§persistence: PersistenceSettings§initial_balances: HashMap<AssetId, Decimal>§reporting_currency: AssetId§markets_file: Option<PathBuf>§alerting: AlertingConfig§exec_backend: ExecutionBackend§risk: RiskManagementConfig§reconciliation_interval: Duration§reconciliation_threshold: Decimal§orderbook_depth: usize§record_path: Option<PathBuf>§control_addr: SocketAddr§panic_close: PanicCloseConfigAuto Trait Implementations§
impl Freeze for LiveSessionSettings
impl RefUnwindSafe for LiveSessionSettings
impl Send for LiveSessionSettings
impl Sync for LiveSessionSettings
impl Unpin for LiveSessionSettings
impl UnwindSafe for LiveSessionSettings
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request