Class LatencyManager
- Namespace
- StockSharp.Algo.Latency
- Assembly
- StockSharp.Algo.dll
Orders registration delay calculation manager.
public class LatencyManager : ILatencyManager, IPersistable
- Inheritance
-
LatencyManager
- Implements
-
IPersistable
- 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 virtual TimeSpan LatencyCancellation { get; }
Property Value
LatencyRegistration
The aggregate value of registration delay by all orders.
public virtual TimeSpan LatencyRegistration { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageStorage.
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
message
MessageMessage.
Returns
Reset()
To zero calculations.
public virtual void Reset()
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageStorage.