Manager that provides access to market by order data.
More...
|
| void | Update (IReadOnlyCollection< MarketByOrder > values) |
| | Update an snapshot of the current market by order data. Update and Clear must be called from a single writer (the instrument's market data processing thread): mutation and the Changed notification are not one atomic operation, so concurrent writers can publish updates out of order with the book state.
|
| |
| MarketByOrder[] | Clear () |
| | Drops all orders from the book. Orders removed while the connection was down never receive a MarketByOrderUpdateTypes.Delete update, so the book must be cleared before a full snapshot is applied. Subscribers are notified with synthesized delete updates. Must be called from the same single writer as Update (see its remarks).
|
| |
Manager that provides access to market by order data.
◆ Clear()
| MarketByOrder[] ATAS.DataFeedsCore.MarketByOrdersManager.Clear |
( |
| ) |
|
Drops all orders from the book. Orders removed while the connection was down never receive a MarketByOrderUpdateTypes.Delete update, so the book must be cleared before a full snapshot is applied. Subscribers are notified with synthesized delete updates. Must be called from the same single writer as Update (see its remarks).
- Returns
- The synthesized delete updates (empty if the book was already empty).
◆ Update()
| void ATAS.DataFeedsCore.MarketByOrdersManager.Update |
( |
IReadOnlyCollection< MarketByOrder > |
values | ) |
|
Update an snapshot of the current market by order data. Update and Clear must be called from a single writer (the instrument's market data processing thread): mutation and the Changed notification are not one atomic operation, so concurrent writers can publish updates out of order with the book state.
- Parameters
-
◆ MarketByOrders
| IEnumerable<MarketByOrder> ATAS.DataFeedsCore.MarketByOrdersManager.MarketByOrders |
|
get |
◆ Changed
| Action<IEnumerable<MarketByOrder> >? ATAS.DataFeedsCore.MarketByOrdersManager.Changed |
The documentation for this class was generated from the following file: