Class LatencyManager
- Namespace
- StockSharp.Algo.Latency
- Assembly
- StockSharp.Algo.dll
Orders registration delay calculation manager.
public class LatencyManager : ILatencyManager, IPersistable
- Inheritance
-
LatencyManager
- Implements
- Inherited Members
- Extension Methods
Constructors
LatencyManager()
Initializes a new instance of the LatencyManager.
public LatencyManager()
Properties
LatencyCancellation
The aggregate value of cancelling delay by all orders.
public TimeSpan LatencyCancellation { get; }
Property Value
LatencyRegistration
The aggregate value of registration delay by all orders.
public TimeSpan LatencyRegistration { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storageSettingsStorageStorage.
ProcessMessage(Message)
To process the message for transaction delay calculation. Messages of OrderRegisterMessage, OrderReplaceMessage, OrderCancelMessage and ExecutionMessage types are accepted.
public TimeSpan? ProcessMessage(Message message)
Parameters
messageMessageMessage.
Returns
Reset()
To zero calculations.
public void Reset()
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storageSettingsStorageStorage.