pub enum InvalidBookOperation {
PreProcessOrder(BookType),
Add(BookType),
-}
Variants§
Trait Implementations§
source§impl Debug for InvalidBookOperation
impl Debug for InvalidBookOperation
source§impl Display for InvalidBookOperation
impl Display for InvalidBookOperation
source§impl Error for InvalidBookOperation
impl Error for InvalidBookOperation
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl RefUnwindSafe for InvalidBookOperation
impl Send for InvalidBookOperation
impl Sync for InvalidBookOperation
impl Unpin for InvalidBookOperation
impl UnwindSafe for InvalidBookOperation
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for InvalidBookOperation
source§impl Display for InvalidBookOperation
source§impl Error for InvalidBookOperation
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl RefUnwindSafe for InvalidBookOperation
§impl Send for InvalidBookOperation
§impl Sync for InvalidBookOperation
§impl Unpin for InvalidBookOperation
§impl UnwindSafe for InvalidBookOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
index 50e1fd2746a3..4fa5a9d9987b 100644
--- a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
+++ b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
@@ -43,7 +43,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for LimitIfTouchedOrder
Provides a default LimitIfTouchedOrder
used for testing.
source§impl Deref for LimitIfTouchedOrder
source§impl DerefMut for LimitIfTouchedOrder
source§impl From<OrderInitialized> for LimitIfTouchedOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for LimitIfTouchedOrder
source§impl Order for LimitIfTouchedOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClass for LimitIfTouchedOrder
source§impl PyClassImpl for LimitIfTouchedOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<LimitIfTouchedOrder>
Layout§type ThreadChecker = ThreadCheckerStub<LimitIfTouchedOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for LimitIfTouchedOrder
§impl Send for LimitIfTouchedOrder
§impl Sync for LimitIfTouchedOrder
§impl Unpin for LimitIfTouchedOrder
§impl UnwindSafe for LimitIfTouchedOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for LimitIfTouchedOrder
§impl Send for LimitIfTouchedOrder
§impl Sync for LimitIfTouchedOrder
§impl Unpin for LimitIfTouchedOrder
§impl UnwindSafe for LimitIfTouchedOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
index 4858ba013433..8f6a7c9a0ce0 100644
--- a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
+++ b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
@@ -43,7 +43,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for StopLimitOrder
Provides a default StopLimitOrder
used for testing.
source§impl Deref for StopLimitOrder
source§impl DerefMut for StopLimitOrder
source§impl From<OrderInitialized> for StopLimitOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for StopLimitOrder
source§impl Order for StopLimitOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClassImpl for StopLimitOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<StopLimitOrder>
Layout§type ThreadChecker = ThreadCheckerStub<StopLimitOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for StopLimitOrder
§impl Send for StopLimitOrder
§impl Sync for StopLimitOrder
§impl Unpin for StopLimitOrder
§impl UnwindSafe for StopLimitOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for StopLimitOrder
§impl Send for StopLimitOrder
§impl Sync for StopLimitOrder
§impl Unpin for StopLimitOrder
§impl UnwindSafe for StopLimitOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
index 9ea1caf55415..de7dfb7a71dd 100644
--- a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
+++ b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
@@ -49,7 +49,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for TrailingStopLimitOrder
Provides a default TrailingStopLimitOrder
used for testing.
source§impl Deref for TrailingStopLimitOrder
source§impl DerefMut for TrailingStopLimitOrder
source§impl From<OrderInitialized> for TrailingStopLimitOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for TrailingStopLimitOrder
source§impl Order for TrailingStopLimitOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClass for TrailingStopLimitOrder
source§impl PyClassImpl for TrailingStopLimitOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<TrailingStopLimitOrder>
Layout§type ThreadChecker = ThreadCheckerStub<TrailingStopLimitOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for TrailingStopLimitOrder
§impl Send for TrailingStopLimitOrder
§impl Sync for TrailingStopLimitOrder
§impl Unpin for TrailingStopLimitOrder
§impl UnwindSafe for TrailingStopLimitOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for TrailingStopLimitOrder
§impl Send for TrailingStopLimitOrder
§impl Sync for TrailingStopLimitOrder
§impl Unpin for TrailingStopLimitOrder
§impl UnwindSafe for TrailingStopLimitOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/types/money/struct.Money.html b/develop/core/nautilus_model/types/money/struct.Money.html
index 33445d13a002..93985592fd8d 100644
--- a/develop/core/nautilus_model/types/money/struct.Money.html
+++ b/develop/core/nautilus_model/types/money/struct.Money.html
@@ -1,10 +1,10 @@
Money in nautilus_model::types::money - Rust Struct nautilus_model::types::money::Money
source · #[repr(C)]pub struct Money {
pub raw: i64,
pub currency: Currency,
-}
Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+}Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Money
source§impl PartialEq<Money> for Money
source§impl PyMethods<Money> for PyClassImplCollector<Money>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Money
§type AsRefTarget = PyCell<Money>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for InvalidBookOperation
source§impl Display for InvalidBookOperation
source§impl Error for InvalidBookOperation
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl RefUnwindSafe for InvalidBookOperation
§impl Send for InvalidBookOperation
§impl Sync for InvalidBookOperation
§impl Unpin for InvalidBookOperation
§impl UnwindSafe for InvalidBookOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
index 50e1fd2746a3..4fa5a9d9987b 100644
--- a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
+++ b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html
@@ -43,7 +43,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for LimitIfTouchedOrder
Provides a default LimitIfTouchedOrder
used for testing.
source§impl Deref for LimitIfTouchedOrder
source§impl DerefMut for LimitIfTouchedOrder
source§impl From<OrderInitialized> for LimitIfTouchedOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for LimitIfTouchedOrder
source§impl Order for LimitIfTouchedOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClass for LimitIfTouchedOrder
source§impl PyClassImpl for LimitIfTouchedOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<LimitIfTouchedOrder>
Layout§type ThreadChecker = ThreadCheckerStub<LimitIfTouchedOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for LimitIfTouchedOrder
§impl Send for LimitIfTouchedOrder
§impl Sync for LimitIfTouchedOrder
§impl Unpin for LimitIfTouchedOrder
§impl UnwindSafe for LimitIfTouchedOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for LimitIfTouchedOrder
§impl Send for LimitIfTouchedOrder
§impl Sync for LimitIfTouchedOrder
§impl Unpin for LimitIfTouchedOrder
§impl UnwindSafe for LimitIfTouchedOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
index 4858ba013433..8f6a7c9a0ce0 100644
--- a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
+++ b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html
@@ -43,7 +43,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for StopLimitOrder
Provides a default StopLimitOrder
used for testing.
source§impl Deref for StopLimitOrder
source§impl DerefMut for StopLimitOrder
source§impl From<OrderInitialized> for StopLimitOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for StopLimitOrder
source§impl Order for StopLimitOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClassImpl for StopLimitOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<StopLimitOrder>
Layout§type ThreadChecker = ThreadCheckerStub<StopLimitOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for StopLimitOrder
§impl Send for StopLimitOrder
§impl Sync for StopLimitOrder
§impl Unpin for StopLimitOrder
§impl UnwindSafe for StopLimitOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for StopLimitOrder
§impl Send for StopLimitOrder
§impl Sync for StopLimitOrder
§impl Unpin for StopLimitOrder
§impl UnwindSafe for StopLimitOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
index 9ea1caf55415..de7dfb7a71dd 100644
--- a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
+++ b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html
@@ -49,7 +49,7 @@
position_qty: Quantity
) -> boolsourcepub fn commission(&self, currency: &Currency) -> Option<Money>
sourcepub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for TrailingStopLimitOrder
Provides a default TrailingStopLimitOrder
used for testing.
source§impl Deref for TrailingStopLimitOrder
source§impl DerefMut for TrailingStopLimitOrder
source§impl From<OrderInitialized> for TrailingStopLimitOrder
source§fn from(event: OrderInitialized) -> Self
Converts to this type from the input type.source§impl IntoPy<Py<PyAny>> for TrailingStopLimitOrder
source§impl Order for TrailingStopLimitOrder
source§fn status(&self) -> OrderStatus
source§fn trader_id(&self) -> TraderId
source§fn strategy_id(&self) -> StrategyId
source§fn instrument_id(&self) -> InstrumentId
source§fn symbol(&self) -> Symbol
source§fn venue(&self) -> Venue
source§fn client_order_id(&self) -> ClientOrderId
source§fn venue_order_id(&self) -> Option<VenueOrderId>
source§fn position_id(&self) -> Option<PositionId>
source§fn account_id(&self) -> Option<AccountId>
source§fn last_trade_id(&self) -> Option<TradeId>
source§fn side(&self) -> OrderSide
source§fn order_type(&self) -> OrderType
source§fn quantity(&self) -> Quantity
source§fn time_in_force(&self) -> TimeInForce
source§fn expire_time(&self) -> Option<UnixNanos>
source§fn price(&self) -> Option<Price>
source§fn trigger_price(&self) -> Option<Price>
source§fn trigger_type(&self) -> Option<TriggerType>
source§fn liquidity_side(&self) -> Option<LiquiditySide>
source§fn is_post_only(&self) -> bool
source§fn is_reduce_only(&self) -> bool
source§fn is_quote_quantity(&self) -> bool
source§fn display_qty(&self) -> Option<Quantity>
source§fn limit_offset(&self) -> Option<Price>
source§fn trailing_offset(&self) -> Option<Price>
source§fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
source§fn emulation_trigger(&self) -> Option<TriggerType>
source§fn trigger_instrument_id(&self) -> Option<InstrumentId>
source§fn contingency_type(&self) -> Option<ContingencyType>
source§fn order_list_id(&self) -> Option<OrderListId>
source§fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
source§fn parent_order_id(&self) -> Option<ClientOrderId>
source§fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
source§fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
source§fn exec_spawn_id(&self) -> Option<ClientOrderId>
source§fn filled_qty(&self) -> Quantity
source§fn leaves_qty(&self) -> Quantity
source§fn avg_px(&self) -> Option<f64>
source§fn slippage(&self) -> Option<f64>
source§fn init_id(&self) -> UUID4
source§fn ts_init(&self) -> UnixNanos
source§fn ts_last(&self) -> UnixNanos
source§fn events(&self) -> Vec<&OrderEvent>
source§fn venue_order_ids(&self) -> Vec<&VenueOrderId>
source§fn trade_ids(&self) -> Vec<&TradeId>
source§fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
source§fn update(&mut self, event: &OrderUpdated)
source§fn last_event(&self) -> &OrderEvent
source§fn event_count(&self) -> usize
source§fn is_buy(&self) -> bool
source§fn is_sell(&self) -> bool
source§fn is_passive(&self) -> bool
source§fn is_aggressive(&self) -> bool
source§fn is_emulated(&self) -> bool
source§fn is_active_local(&self) -> bool
source§fn is_primary(&self) -> bool
source§fn is_secondary(&self) -> bool
source§fn is_contingency(&self) -> bool
source§fn is_parent_order(&self) -> bool
source§fn is_child_order(&self) -> bool
source§fn is_open(&self) -> bool
source§fn is_canceled(&self) -> bool
source§fn is_closed(&self) -> bool
source§fn is_inflight(&self) -> bool
source§fn is_pending_update(&self) -> bool
source§fn is_pending_cancel(&self) -> bool
source§impl PyClass for TrailingStopLimitOrder
source§impl PyClassImpl for TrailingStopLimitOrder
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<TrailingStopLimitOrder>
Layout§type ThreadChecker = ThreadCheckerStub<TrailingStopLimitOrder>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for TrailingStopLimitOrder
§impl Send for TrailingStopLimitOrder
§impl Sync for TrailingStopLimitOrder
§impl Unpin for TrailingStopLimitOrder
§impl UnwindSafe for TrailingStopLimitOrder
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl RefUnwindSafe for TrailingStopLimitOrder
§impl Send for TrailingStopLimitOrder
§impl Sync for TrailingStopLimitOrder
§impl Unpin for TrailingStopLimitOrder
§impl UnwindSafe for TrailingStopLimitOrder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/types/money/struct.Money.html b/develop/core/nautilus_model/types/money/struct.Money.html
index 33445d13a002..93985592fd8d 100644
--- a/develop/core/nautilus_model/types/money/struct.Money.html
+++ b/develop/core/nautilus_model/types/money/struct.Money.html
@@ -1,10 +1,10 @@
Money in nautilus_model::types::money - Rust Struct nautilus_model::types::money::Money
source · #[repr(C)]pub struct Money {
pub raw: i64,
pub currency: Currency,
-}
Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+}Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Money
source§impl PartialEq<Money> for Money
source§impl PyMethods<Money> for PyClassImplCollector<Money>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Money
§type AsRefTarget = PyCell<Money>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
source§impl Debug for InvalidBookOperation
impl Debug for InvalidBookOperation
source§impl Display for InvalidBookOperation
impl Display for InvalidBookOperation
source§impl Error for InvalidBookOperation
impl Error for InvalidBookOperation
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
impl RefUnwindSafe for InvalidBookOperation
impl Send for InvalidBookOperation
impl Sync for InvalidBookOperation
impl Unpin for InvalidBookOperation
impl UnwindSafe for InvalidBookOperation
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html index 50e1fd2746a3..4fa5a9d9987b 100644 --- a/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html +++ b/develop/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html @@ -43,7 +43,7 @@ position_qty: Quantity ) -> boolpub fn commission(&self, currency: &Currency) -> Option<Money>
pub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for LimitIfTouchedOrder
impl Default for LimitIfTouchedOrder
Provides a default LimitIfTouchedOrder
used for testing.
source§impl Deref for LimitIfTouchedOrder
impl Deref for LimitIfTouchedOrder
source§impl DerefMut for LimitIfTouchedOrder
impl DerefMut for LimitIfTouchedOrder
source§impl From<OrderInitialized> for LimitIfTouchedOrder
impl From<OrderInitialized> for LimitIfTouchedOrder
source§fn from(event: OrderInitialized) -> Self
fn from(event: OrderInitialized) -> Self
source§impl IntoPy<Py<PyAny>> for LimitIfTouchedOrder
impl IntoPy<Py<PyAny>> for LimitIfTouchedOrder
source§impl Order for LimitIfTouchedOrder
impl Order for LimitIfTouchedOrder
fn status(&self) -> OrderStatus
fn trader_id(&self) -> TraderId
fn strategy_id(&self) -> StrategyId
fn instrument_id(&self) -> InstrumentId
fn symbol(&self) -> Symbol
fn venue(&self) -> Venue
fn client_order_id(&self) -> ClientOrderId
fn venue_order_id(&self) -> Option<VenueOrderId>
fn position_id(&self) -> Option<PositionId>
fn account_id(&self) -> Option<AccountId>
fn last_trade_id(&self) -> Option<TradeId>
fn side(&self) -> OrderSide
fn order_type(&self) -> OrderType
fn quantity(&self) -> Quantity
fn time_in_force(&self) -> TimeInForce
fn expire_time(&self) -> Option<UnixNanos>
fn price(&self) -> Option<Price>
fn trigger_price(&self) -> Option<Price>
fn trigger_type(&self) -> Option<TriggerType>
fn liquidity_side(&self) -> Option<LiquiditySide>
fn is_post_only(&self) -> bool
fn is_reduce_only(&self) -> bool
fn is_quote_quantity(&self) -> bool
fn display_qty(&self) -> Option<Quantity>
fn limit_offset(&self) -> Option<Price>
fn trailing_offset(&self) -> Option<Price>
fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
fn emulation_trigger(&self) -> Option<TriggerType>
fn trigger_instrument_id(&self) -> Option<InstrumentId>
fn contingency_type(&self) -> Option<ContingencyType>
fn order_list_id(&self) -> Option<OrderListId>
fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
fn parent_order_id(&self) -> Option<ClientOrderId>
fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
fn exec_spawn_id(&self) -> Option<ClientOrderId>
fn filled_qty(&self) -> Quantity
fn leaves_qty(&self) -> Quantity
fn avg_px(&self) -> Option<f64>
fn slippage(&self) -> Option<f64>
fn init_id(&self) -> UUID4
fn ts_init(&self) -> UnixNanos
fn ts_last(&self) -> UnixNanos
fn events(&self) -> Vec<&OrderEvent>
fn venue_order_ids(&self) -> Vec<&VenueOrderId>
fn trade_ids(&self) -> Vec<&TradeId>
fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
fn update(&mut self, event: &OrderUpdated)
fn last_event(&self) -> &OrderEvent
fn event_count(&self) -> usize
fn is_buy(&self) -> bool
fn is_sell(&self) -> bool
fn is_passive(&self) -> bool
fn is_aggressive(&self) -> bool
fn is_emulated(&self) -> bool
fn is_active_local(&self) -> bool
fn is_primary(&self) -> bool
fn is_secondary(&self) -> bool
fn is_contingency(&self) -> bool
fn is_parent_order(&self) -> bool
fn is_child_order(&self) -> bool
fn is_open(&self) -> bool
fn is_canceled(&self) -> bool
fn is_closed(&self) -> bool
fn is_inflight(&self) -> bool
fn is_pending_update(&self) -> bool
fn is_pending_cancel(&self) -> bool
source§impl PyClass for LimitIfTouchedOrder
impl PyClass for LimitIfTouchedOrder
source§impl PyClassImpl for LimitIfTouchedOrder
impl PyClassImpl for LimitIfTouchedOrder
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
§type Layout = PyCell<LimitIfTouchedOrder>
type Layout = PyCell<LimitIfTouchedOrder>
§type ThreadChecker = ThreadCheckerStub<LimitIfTouchedOrder>
type ThreadChecker = ThreadCheckerStub<LimitIfTouchedOrder>
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
type AsRefTarget = PyCell<LimitIfTouchedOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.Auto Trait Implementations§
impl RefUnwindSafe for LimitIfTouchedOrder
impl Send for LimitIfTouchedOrder
impl Sync for LimitIfTouchedOrder
impl Unpin for LimitIfTouchedOrder
impl UnwindSafe for LimitIfTouchedOrder
Blanket Implementations§
fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder
source§impl PyTypeInfo for LimitIfTouchedOrder
impl PyTypeInfo for LimitIfTouchedOrder
§type AsRefTarget = PyCell<LimitIfTouchedOrder>
type AsRefTarget = PyCell<LimitIfTouchedOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.impl RefUnwindSafe for LimitIfTouchedOrder
impl Send for LimitIfTouchedOrder
impl Sync for LimitIfTouchedOrder
impl Unpin for LimitIfTouchedOrder
impl UnwindSafe for LimitIfTouchedOrder
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html index 4858ba013433..8f6a7c9a0ce0 100644 --- a/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html +++ b/develop/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html @@ -43,7 +43,7 @@ position_qty: Quantity ) -> boolpub fn commission(&self, currency: &Currency) -> Option<Money>
pub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for StopLimitOrder
impl Default for StopLimitOrder
Provides a default StopLimitOrder
used for testing.
source§impl Deref for StopLimitOrder
impl Deref for StopLimitOrder
source§impl DerefMut for StopLimitOrder
impl DerefMut for StopLimitOrder
source§impl From<OrderInitialized> for StopLimitOrder
impl From<OrderInitialized> for StopLimitOrder
source§fn from(event: OrderInitialized) -> Self
fn from(event: OrderInitialized) -> Self
source§impl IntoPy<Py<PyAny>> for StopLimitOrder
impl IntoPy<Py<PyAny>> for StopLimitOrder
source§impl Order for StopLimitOrder
impl Order for StopLimitOrder
fn status(&self) -> OrderStatus
fn trader_id(&self) -> TraderId
fn strategy_id(&self) -> StrategyId
fn instrument_id(&self) -> InstrumentId
fn symbol(&self) -> Symbol
fn venue(&self) -> Venue
fn client_order_id(&self) -> ClientOrderId
fn venue_order_id(&self) -> Option<VenueOrderId>
fn position_id(&self) -> Option<PositionId>
fn account_id(&self) -> Option<AccountId>
fn last_trade_id(&self) -> Option<TradeId>
fn side(&self) -> OrderSide
fn order_type(&self) -> OrderType
fn quantity(&self) -> Quantity
fn time_in_force(&self) -> TimeInForce
fn expire_time(&self) -> Option<UnixNanos>
fn price(&self) -> Option<Price>
fn trigger_price(&self) -> Option<Price>
fn trigger_type(&self) -> Option<TriggerType>
fn liquidity_side(&self) -> Option<LiquiditySide>
fn is_post_only(&self) -> bool
fn is_reduce_only(&self) -> bool
fn is_quote_quantity(&self) -> bool
fn display_qty(&self) -> Option<Quantity>
fn limit_offset(&self) -> Option<Price>
fn trailing_offset(&self) -> Option<Price>
fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
fn emulation_trigger(&self) -> Option<TriggerType>
fn trigger_instrument_id(&self) -> Option<InstrumentId>
fn contingency_type(&self) -> Option<ContingencyType>
fn order_list_id(&self) -> Option<OrderListId>
fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
fn parent_order_id(&self) -> Option<ClientOrderId>
fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
fn exec_spawn_id(&self) -> Option<ClientOrderId>
fn filled_qty(&self) -> Quantity
fn leaves_qty(&self) -> Quantity
fn avg_px(&self) -> Option<f64>
fn slippage(&self) -> Option<f64>
fn init_id(&self) -> UUID4
fn ts_init(&self) -> UnixNanos
fn ts_last(&self) -> UnixNanos
fn events(&self) -> Vec<&OrderEvent>
fn venue_order_ids(&self) -> Vec<&VenueOrderId>
fn trade_ids(&self) -> Vec<&TradeId>
fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
fn update(&mut self, event: &OrderUpdated)
fn last_event(&self) -> &OrderEvent
fn event_count(&self) -> usize
fn is_buy(&self) -> bool
fn is_sell(&self) -> bool
fn is_passive(&self) -> bool
fn is_aggressive(&self) -> bool
fn is_emulated(&self) -> bool
fn is_active_local(&self) -> bool
fn is_primary(&self) -> bool
fn is_secondary(&self) -> bool
fn is_contingency(&self) -> bool
fn is_parent_order(&self) -> bool
fn is_child_order(&self) -> bool
fn is_open(&self) -> bool
fn is_canceled(&self) -> bool
fn is_closed(&self) -> bool
fn is_inflight(&self) -> bool
fn is_pending_update(&self) -> bool
fn is_pending_cancel(&self) -> bool
source§impl PyClassImpl for StopLimitOrder
impl PyClassImpl for StopLimitOrder
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
§type Layout = PyCell<StopLimitOrder>
type Layout = PyCell<StopLimitOrder>
§type ThreadChecker = ThreadCheckerStub<StopLimitOrder>
type ThreadChecker = ThreadCheckerStub<StopLimitOrder>
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
type AsRefTarget = PyCell<StopLimitOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.Auto Trait Implementations§
impl RefUnwindSafe for StopLimitOrder
impl Send for StopLimitOrder
impl Sync for StopLimitOrder
impl Unpin for StopLimitOrder
impl UnwindSafe for StopLimitOrder
Blanket Implementations§
fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopLimitOrder
source§impl PyTypeInfo for StopLimitOrder
impl PyTypeInfo for StopLimitOrder
§type AsRefTarget = PyCell<StopLimitOrder>
type AsRefTarget = PyCell<StopLimitOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.impl RefUnwindSafe for StopLimitOrder
impl Send for StopLimitOrder
impl Sync for StopLimitOrder
impl Unpin for StopLimitOrder
impl UnwindSafe for StopLimitOrder
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html index 9ea1caf55415..de7dfb7a71dd 100644 --- a/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html +++ b/develop/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html @@ -49,7 +49,7 @@ position_qty: Quantity ) -> boolpub fn commission(&self, currency: &Currency) -> Option<Money>
pub fn commissions(&self) -> HashMap<Currency, Money>
Trait Implementations§
source§impl Default for TrailingStopLimitOrder
impl Default for TrailingStopLimitOrder
Provides a default TrailingStopLimitOrder
used for testing.
source§impl Deref for TrailingStopLimitOrder
impl Deref for TrailingStopLimitOrder
source§impl DerefMut for TrailingStopLimitOrder
impl DerefMut for TrailingStopLimitOrder
source§impl From<OrderInitialized> for TrailingStopLimitOrder
impl From<OrderInitialized> for TrailingStopLimitOrder
source§fn from(event: OrderInitialized) -> Self
fn from(event: OrderInitialized) -> Self
source§impl IntoPy<Py<PyAny>> for TrailingStopLimitOrder
impl IntoPy<Py<PyAny>> for TrailingStopLimitOrder
source§impl Order for TrailingStopLimitOrder
impl Order for TrailingStopLimitOrder
fn status(&self) -> OrderStatus
fn trader_id(&self) -> TraderId
fn strategy_id(&self) -> StrategyId
fn instrument_id(&self) -> InstrumentId
fn symbol(&self) -> Symbol
fn venue(&self) -> Venue
fn client_order_id(&self) -> ClientOrderId
fn venue_order_id(&self) -> Option<VenueOrderId>
fn position_id(&self) -> Option<PositionId>
fn account_id(&self) -> Option<AccountId>
fn last_trade_id(&self) -> Option<TradeId>
fn side(&self) -> OrderSide
fn order_type(&self) -> OrderType
fn quantity(&self) -> Quantity
fn time_in_force(&self) -> TimeInForce
fn expire_time(&self) -> Option<UnixNanos>
fn price(&self) -> Option<Price>
fn trigger_price(&self) -> Option<Price>
fn trigger_type(&self) -> Option<TriggerType>
fn liquidity_side(&self) -> Option<LiquiditySide>
fn is_post_only(&self) -> bool
fn is_reduce_only(&self) -> bool
fn is_quote_quantity(&self) -> bool
fn display_qty(&self) -> Option<Quantity>
fn limit_offset(&self) -> Option<Price>
fn trailing_offset(&self) -> Option<Price>
fn trailing_offset_type(&self) -> Option<TrailingOffsetType>
fn emulation_trigger(&self) -> Option<TriggerType>
fn trigger_instrument_id(&self) -> Option<InstrumentId>
fn contingency_type(&self) -> Option<ContingencyType>
fn order_list_id(&self) -> Option<OrderListId>
fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>
fn parent_order_id(&self) -> Option<ClientOrderId>
fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>
fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>
fn exec_spawn_id(&self) -> Option<ClientOrderId>
fn filled_qty(&self) -> Quantity
fn leaves_qty(&self) -> Quantity
fn avg_px(&self) -> Option<f64>
fn slippage(&self) -> Option<f64>
fn init_id(&self) -> UUID4
fn ts_init(&self) -> UnixNanos
fn ts_last(&self) -> UnixNanos
fn events(&self) -> Vec<&OrderEvent>
fn venue_order_ids(&self) -> Vec<&VenueOrderId>
fn trade_ids(&self) -> Vec<&TradeId>
fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>
fn update(&mut self, event: &OrderUpdated)
fn last_event(&self) -> &OrderEvent
fn event_count(&self) -> usize
fn is_buy(&self) -> bool
fn is_sell(&self) -> bool
fn is_passive(&self) -> bool
fn is_aggressive(&self) -> bool
fn is_emulated(&self) -> bool
fn is_active_local(&self) -> bool
fn is_primary(&self) -> bool
fn is_secondary(&self) -> bool
fn is_contingency(&self) -> bool
fn is_parent_order(&self) -> bool
fn is_child_order(&self) -> bool
fn is_open(&self) -> bool
fn is_canceled(&self) -> bool
fn is_closed(&self) -> bool
fn is_inflight(&self) -> bool
fn is_pending_update(&self) -> bool
fn is_pending_cancel(&self) -> bool
source§impl PyClass for TrailingStopLimitOrder
impl PyClass for TrailingStopLimitOrder
source§impl PyClassImpl for TrailingStopLimitOrder
impl PyClassImpl for TrailingStopLimitOrder
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
§type Layout = PyCell<TrailingStopLimitOrder>
type Layout = PyCell<TrailingStopLimitOrder>
§type ThreadChecker = ThreadCheckerStub<TrailingStopLimitOrder>
type ThreadChecker = ThreadCheckerStub<TrailingStopLimitOrder>
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
type AsRefTarget = PyCell<TrailingStopLimitOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.Auto Trait Implementations§
impl RefUnwindSafe for TrailingStopLimitOrder
impl Send for TrailingStopLimitOrder
impl Sync for TrailingStopLimitOrder
impl Unpin for TrailingStopLimitOrder
impl UnwindSafe for TrailingStopLimitOrder
Blanket Implementations§
fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder
source§impl PyTypeInfo for TrailingStopLimitOrder
impl PyTypeInfo for TrailingStopLimitOrder
§type AsRefTarget = PyCell<TrailingStopLimitOrder>
type AsRefTarget = PyCell<TrailingStopLimitOrder>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.impl RefUnwindSafe for TrailingStopLimitOrder
impl Send for TrailingStopLimitOrder
impl Sync for TrailingStopLimitOrder
impl Unpin for TrailingStopLimitOrder
impl UnwindSafe for TrailingStopLimitOrder
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_model/types/money/struct.Money.html b/develop/core/nautilus_model/types/money/struct.Money.html index 33445d13a002..93985592fd8d 100644 --- a/develop/core/nautilus_model/types/money/struct.Money.html +++ b/develop/core/nautilus_model/types/money/struct.Money.html @@ -1,10 +1,10 @@Struct nautilus_model::types::money::Money
source · #[repr(C)]pub struct Money {
pub raw: i64,
pub currency: Currency,
-}
Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+}Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Money
source§impl PartialEq<Money> for Money
source§impl PyMethods<Money> for PyClassImplCollector<Money>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Money
§type AsRefTarget = PyCell<Money>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+}Fields§
§raw: i64
§currency: Currency
Implementations§
Trait Implementations§
source§impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Money
source§impl PartialEq<Money> for Money
source§impl PyMethods<Money> for PyClassImplCollector<Money>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Money
§type AsRefTarget = PyCell<Money>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Money
source§impl Eq for Money
source§impl StructuralEq for Money
Auto Trait Implementations§
§impl RefUnwindSafe for Money
§impl Send for Money
§impl Sync for Money
§impl Unpin for Money
§impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
source§impl AddAssign<Money> for Money
impl AddAssign<Money> for Money
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Money
impl<'de> Deserialize<'de> for Money
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
source§impl Ord for Money
impl Ord for Money
source§impl PartialEq<Money> for Money
impl PartialEq<Money> for Money
source§impl PyMethods<Money> for PyClassImplCollector<Money>
impl PyMethods<Money> for PyClassImplCollector<Money>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Money
impl PyTypeInfo for Money
§type AsRefTarget = PyCell<Money>
type AsRefTarget = PyCell<Money>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.source§impl SubAssign<Money> for Money
impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
-=
operation. Read moreimpl Copy for Money
impl Eq for Money
impl StructuralEq for Money
Auto Trait Implementations§
impl RefUnwindSafe for Money
impl Send for Money
impl Sync for Money
impl Unpin for Money
impl UnwindSafe for Money
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
impl<T> Any for Twhere + S: Serializer,
source§impl SubAssign<Money> for Money
impl SubAssign<Money> for Money
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
-=
operation. Read moreimpl Copy for Money
impl Eq for Money
impl StructuralEq for Money
impl RefUnwindSafe for Money
impl Send for Money
impl Sync for Money
impl Unpin for Money
impl UnwindSafe for Money
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
§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/price/struct.Price.html b/develop/core/nautilus_model/types/price/struct.Price.html
index 95aba434b7b6..17d142037649 100644
--- a/develop/core/nautilus_model/types/price/struct.Price.html
+++ b/develop/core/nautilus_model/types/price/struct.Price.html
@@ -1,10 +1,10 @@
Price in nautilus_model::types::price - Rust Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
Struct nautilus_model::types::price::Price
source · #[repr(C)]pub struct Price {
pub raw: i64,
pub precision: u8,
-}
Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
impl Price
pub fn new(value: f64, precision: u8) -> Result<Self>
pub fn from_raw(raw: i64, precision: u8) -> Result<Self>
pub fn max(precision: u8) -> Self
pub fn min(precision: u8) -> Self
pub fn zero(precision: u8) -> Self
pub fn is_zero(&self) -> bool
pub fn as_f64(&self) -> f64
pub fn as_decimal(&self) -> Decimal
pub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
pub const MIN: i64 = -9_223_372_036_854_775_808i64
pub const MAX: i64 = 9_223_372_036_854_775_807i64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where - D: Deserializer<'de>,
source§impl Hash for Price
impl Hash for Price
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
fn hash_slice<H>(data: &[Self], state: &mut H)where
+}Fields§
§raw: i64
§precision: u8
Implementations§
source§impl Price
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: i64, precision: u8) -> Result<Self>
sourcepub fn max(precision: u8) -> Self
sourcepub fn min(precision: u8) -> Self
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = i64>§
1.43.0 · sourcepub const MIN: i64 = -9_223_372_036_854_775_808i64
1.43.0 · sourcepub const MAX: i64 = 9_223_372_036_854_775_807i64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for Price
source§impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
Performs the -=
operation. Read moresource§impl Copy for Price
source§impl Eq for Price
source§impl StructuralEq for Price
Auto Trait Implementations§
§impl RefUnwindSafe for Price
§impl Send for Price
§impl Sync for Price
§impl Unpin for Price
§impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
source§impl Price
impl Price
pub fn new(value: f64, precision: u8) -> Result<Self>
pub fn from_raw(raw: i64, precision: u8) -> Result<Self>
pub fn max(precision: u8) -> Self
pub fn min(precision: u8) -> Self
pub fn zero(precision: u8) -> Self
pub fn is_zero(&self) -> bool
pub fn as_f64(&self) -> f64
pub fn as_decimal(&self) -> Decimal
pub fn to_formatted_string(&self) -> String
pub const MIN: i64 = -9_223_372_036_854_775_808i64
pub const MAX: i64 = 9_223_372_036_854_775_807i64
pub const BITS: u32 = 64u32
source§impl AddAssign<Price> for Price
impl AddAssign<Price> for Price
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Price
impl<'de> Deserialize<'de> for Price
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where + D: Deserializer<'de>,
source§impl Ord for Price
impl Ord for Price
source§impl PartialEq<Price> for Price
impl PartialEq<Price> for Price
source§impl PyMethods<Price> for PyClassImplCollector<Price>
impl PyMethods<Price> for PyClassImplCollector<Price>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Price
impl PyTypeInfo for Price
§type AsRefTarget = PyCell<Price>
type AsRefTarget = PyCell<Price>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.source§impl SubAssign<Price> for Price
impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
-=
operation. Read moreimpl Copy for Price
impl Eq for Price
impl StructuralEq for Price
Auto Trait Implementations§
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnwindSafe for Price
Blanket Implementations§
source§impl<T> Any for Twhere
+ S: Serializer,
impl<T> Any for Twhere + S: Serializer,
source§impl SubAssign<Price> for Price
impl SubAssign<Price> for Price
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
-=
operation. Read moreimpl Copy for Price
impl Eq for Price
impl StructuralEq for Price
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnwindSafe for Price
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
§impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
impl<Q, K> Comparable<K> for Qwhere
diff --git a/develop/core/nautilus_model/types/quantity/struct.Quantity.html b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
index 3312f32d9290..b69f9e3e57cb 100644
--- a/develop/core/nautilus_model/types/quantity/struct.Quantity.html
+++ b/develop/core/nautilus_model/types/quantity/struct.Quantity.html
@@ -2,7 +2,7 @@
pub raw: u64,
pub precision: u8,
}Fields§
§raw: u64
§precision: u8
Implementations§
source§impl Quantity
sourcepub fn new(value: f64, precision: u8) -> Result<Self>
sourcepub fn from_raw(raw: u64, precision: u8) -> Result<Self>
sourcepub fn zero(precision: u8) -> Self
sourcepub fn is_zero(&self) -> bool
sourcepub fn is_positive(&self) -> bool
sourcepub fn as_f64(&self) -> f64
sourcepub fn as_decimal(&self) -> Decimal
sourcepub fn to_formatted_string(&self) -> String
Methods from Deref<Target = u64>§
1.43.0 · sourcepub const MIN: u64 = 0u64
1.43.0 · sourcepub const MAX: u64 = 18_446_744_073_709_551_615u64
1.53.0 · sourcepub const BITS: u32 = 64u32
Trait Implementations§
source§impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
Performs the +=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
Performs the *=
operation. Read moresource§impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
Performs the -=
operation. Read moresource§impl Copy for Quantity
source§impl Eq for Quantity
source§impl StructuralEq for Quantity
Auto Trait Implementations§
§impl RefUnwindSafe for Quantity
§impl Send for Quantity
§impl Sync for Quantity
§impl Unpin for Quantity
§impl UnwindSafe for Quantity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html
index 839297ea29a4..a79b401e74b7 100644
--- a/develop/core/nautilus_network/websocket/index.html
+++ b/develop/core/nautilus_network/websocket/index.html
@@ -1 +1 @@
-nautilus_network::websocket - Rust
\ No newline at end of file
+nautilus_network::websocket - Rust
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
index 3ce6917daaf9..52e7516238cc 100644
--- a/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.DataStreamingError.html
@@ -2,7 +2,7 @@
ArrowError(ArrowError),
IoError(Error),
PythonError(PyErr),
-}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for DataStreamingError
source§impl Display for DataStreamingError
source§impl Error for DataStreamingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ArrowError> for DataStreamingError
source§impl From<Error> for DataStreamingError
Auto Trait Implementations§
§impl !RefUnwindSafe for DataStreamingError
§impl Send for DataStreamingError
§impl Sync for DataStreamingError
§impl Unpin for DataStreamingError
§impl !UnwindSafe for DataStreamingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
index 24a4de58333c..a0037d2e9c3f 100644
--- a/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
+++ b/develop/core/nautilus_persistence/arrow/enum.EncodingError.html
@@ -4,7 +4,7 @@
ParseError(&'static str, String),
InvalidColumnType(&'static str, usize, DataType, DataType),
ArrowError(ArrowError),
-}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§MissingMetadata(&'static str)
§MissingColumn(&'static str, usize)
§ParseError(&'static str, String)
§InvalidColumnType(&'static str, usize, DataType, DataType)
§ArrowError(ArrowError)
Trait Implementations§
source§impl Debug for EncodingError
source§impl Display for EncodingError
source§impl Error for EncodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for EncodingError
§impl Send for EncodingError
§impl Sync for EncodingError
§impl Unpin for EncodingError
§impl !UnwindSafe for EncodingError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
diff --git a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
index d5e771b632a9..607fc2e6cb25 100644
--- a/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
+++ b/develop/core/nautilus_persistence/arrow/trait.ArrowSchemaProvider.html
@@ -4,4 +4,4 @@
// Provided method
fn get_schema_map() -> HashMap<String, String> { ... }
-}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for TradeTick
Implementors§
\ No newline at end of file
+}Required Methods§
Provided Methods§
sourcefn get_schema_map() -> HashMap<String, String>
Implementations on Foreign Types§
source§impl ArrowSchemaProvider for TradeTick
source§impl ArrowSchemaProvider for Bar
source§impl ArrowSchemaProvider for OrderBookDelta
source§impl ArrowSchemaProvider for QuoteTick
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
index 768bb3c44e35..6195736f049d 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeDataFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for Bar
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for TradeTick
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for QuoteTick
source§fn decode_data_batch(
+) -> Result<Vec<Data>, EncodingError>
source§impl DecodeDataFromRecordBatch for OrderBookDelta
source§fn decode_data_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Data>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
index 4b0ea1d183fa..db807a765f42 100644
--- a/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
Implementations on Foreign Types§
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for Bar
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for QuoteTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
-) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for OrderBookDelta
source§fn decode_batch(
+) -> Result<Vec<Self>, EncodingError>
source§impl DecodeFromRecordBatch for TradeTick
source§fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch
) -> Result<Vec<Self>, EncodingError>
Implementors§
\ No newline at end of file
diff --git a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
index 0fa418e50fba..19df16fda605 100644
--- a/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
+++ b/develop/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html
@@ -8,16 +8,16 @@
}Required Methods§
sourcefn encode_batch(
metadata: &HashMap<String, String>,
data: &[Self]
-) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for Bar
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
Implementations on Foreign Types§
source§impl EncodeToRecordBatch for QuoteTick
source§impl EncodeToRecordBatch for TradeTick
source§impl EncodeToRecordBatch for QuoteTick
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for OrderBookDelta
source§impl EncodeToRecordBatch for OrderBookDelta
source§fn encode_batch(
+) -> Result<RecordBatch, ArrowError>
source§impl EncodeToRecordBatch for Bar
Implementors§
source§impl Quantity
impl Quantity
pub fn new(value: f64, precision: u8) -> Result<Self>
pub fn from_raw(raw: u64, precision: u8) -> Result<Self>
pub fn zero(precision: u8) -> Self
pub fn is_zero(&self) -> bool
pub fn is_positive(&self) -> bool
pub fn as_f64(&self) -> f64
pub fn as_decimal(&self) -> Decimal
pub fn to_formatted_string(&self) -> String
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
source§impl<T: Into<u64>> AddAssign<T> for Quantity
impl<T: Into<u64>> AddAssign<T> for Quantity
source§fn add_assign(&mut self, other: T)
fn add_assign(&mut self, other: T)
+=
operation. Read moresource§impl<'de> Deserialize<'de> for Quantity
impl<'de> Deserialize<'de> for Quantity
source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where - D: Deserializer<'de>,
source§impl<T: Into<u64>> MulAssign<T> for Quantity
impl<T: Into<u64>> MulAssign<T> for Quantity
source§fn mul_assign(&mut self, other: T)
fn mul_assign(&mut self, other: T)
*=
operation. Read moresource§impl Ord for Quantity
impl Ord for Quantity
source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
type AsRefTarget = PyCell<Quantity>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.source§impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
impl PyMethods<Quantity> for PyClassImplCollector<Quantity>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for Quantity
impl PyTypeInfo for Quantity
§type AsRefTarget = PyCell<Quantity>
type AsRefTarget = PyCell<Quantity>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.source§impl<T: Into<u64>> SubAssign<T> for Quantity
impl<T: Into<u64>> SubAssign<T> for Quantity
source§fn sub_assign(&mut self, other: T)
fn sub_assign(&mut self, other: T)
-=
operation. Read moreimpl Copy for Quantity
impl Eq for Quantity
impl StructuralEq for Quantity
impl RefUnwindSafe for Quantity
impl Send for Quantity
impl Sync for Quantity
impl Unpin for Quantity
impl UnwindSafe for Quantity
source§impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
impl<T> BorrowMut<T> for Twhere
diff --git a/develop/core/nautilus_network/socket/struct.SocketConfig.html b/develop/core/nautilus_network/socket/struct.SocketConfig.html
index 05469bba64d2..d7f2b045d2d6 100644
--- a/develop/core/nautilus_network/socket/struct.SocketConfig.html
+++ b/develop/core/nautilus_network/socket/struct.SocketConfig.html
@@ -1,6 +1,6 @@
SocketConfig in nautilus_network::socket - Rust Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
#[pyclass(subclass)]source§const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]source§const IS_MAPPING: bool = false
#[pyclass(mapping)]source§const IS_SEQUENCE: bool = false
#[pyclass(sequence)]§type Layout = PyCell<SocketConfig>
Layout§type ThreadChecker = ThreadCheckerStub<SocketConfig>
This handles following two situations: Read more§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable§type BaseNativeType = PyAny
The closest native ancestor. This is PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
source§fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
Utility type to make Py::as_ref work.source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.§fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.§fn is_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
Checks if object
is an instance of this type.Auto Trait Implementations§
§impl !RefUnwindSafe for SocketConfig
§impl Send for SocketConfig
§impl Sync for SocketConfig
§impl Unpin for SocketConfig
§impl UnwindSafe for SocketConfig
Blanket Implementations§
source§fn items_iter() -> PyClassItemsIter
source§fn lazy_type_object() -> &'static LazyTypeObject<Self>
§fn dict_offset() -> Option<isize>
§fn weaklist_offset() -> Option<isize>
Struct nautilus_network::socket::SocketConfig
source · pub struct SocketConfig { /* private fields */ }
Expand description
Configuration for TCP socket connection.
Trait Implementations§
source§impl Clone for SocketConfig
impl Clone for SocketConfig
source§fn clone(&self) -> SocketConfig
fn clone(&self) -> SocketConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SocketConfig
impl Debug for SocketConfig
source§impl IntoPy<Py<PyAny>> for SocketConfig
impl IntoPy<Py<PyAny>> for SocketConfig
source§impl PyClassImpl for SocketConfig
impl PyClassImpl for SocketConfig
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
§type Layout = PyCell<SocketConfig>
type Layout = PyCell<SocketConfig>
§type ThreadChecker = ThreadCheckerStub<SocketConfig>
type ThreadChecker = ThreadCheckerStub<SocketConfig>
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny
by default, and when you declare
-#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
type AsRefTarget = PyCell<SocketConfig>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.Auto Trait Implementations§
impl !RefUnwindSafe for SocketConfig
impl Send for SocketConfig
impl Sync for SocketConfig
impl Unpin for SocketConfig
impl UnwindSafe for SocketConfig
Blanket Implementations§
fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
impl PyClassNewTextSignature<SocketConfig> for PyClassImplCollector<SocketConfig>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SocketConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SocketConfig
source§impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
impl PyMethods<SocketConfig> for PyClassImplCollector<SocketConfig>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for SocketConfig
impl PyTypeInfo for SocketConfig
§type AsRefTarget = PyCell<SocketConfig>
type AsRefTarget = PyCell<SocketConfig>
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
object
is an instance of this type.impl !RefUnwindSafe for SocketConfig
impl Send for SocketConfig
impl Sync for SocketConfig
impl Unpin for SocketConfig
impl UnwindSafe for SocketConfig
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/develop/core/nautilus_network/websocket/index.html b/develop/core/nautilus_network/websocket/index.html index 839297ea29a4..a79b401e74b7 100644 --- a/develop/core/nautilus_network/websocket/index.html +++ b/develop/core/nautilus_network/websocket/index.html @@ -1 +1 @@ -