Skip to main content

Module order_manager

Module order_manager 

Source

Structs§

CompletedRemoteOrder
CompletedRemoteOrders
Unordered collection of completed remote orders. Only when the client has confirmed these orders have either been 100% filled by the matching engine or canceled will it transition state to [filled_remote_orders].
MinimalOrdersCapacitySpec
OrderManager
PendingClientOrder
PendingClientOrders
Unordered list of pending client orders (eg. stop orders), where only this client knows the order and its intent. When the condition is tripped, it will be converted into a pending remote order, the state transition will take place, and the OrdersBackend used will become aware of the order.
PendingRemoteOrder
PendingRemoteOrders
Unordered list of pending remote orders. The order will be booked into a fill, partial fill, or resting state before this client knows. Once the client recognizes the booking, the order will be moved to [working_remote_orders].
SimpleOrdersCapacitySpec
WorkingRemoteOrder
WorkingRemoteOrders
Unordered list of working remote orders. These include all unfilled resting orders, partially filled resting orders, and market orders that have not been matched. All orders in working_remote_orders have been recognized by the matching engine and the client has received that the matching engine knows these orders. Only when the client is aware that the order is 100% filled will it state transition to [filled_remote_orders].

Enums§

AssignRemoteOrderIdError
CancelClientOrderError
CancelFlattenAllError
CancelOrderError
CancelRemoteOrderError
OrderGroupMut
OrderMut
OrderRef
PendingClientActivateError
PendingClientCancelError
PendingRemoteProcessedError
PendingRemoteSubmitError
RemoteCanceledRemoteOrderError
SubmitRemoteOrderError
TryCancelRemoteOrderError
WorkingRemoteOrderSubmitError

Traits§

OrdersCapacitySpec