ILatencyManager

StockSharp.Algo.Latency

The interface of the order registration delay calculation manager.

实现: IPersistable, ICloneable<ILatencyManager>, ICloneable

属性

LatencyCancellation : TimeSpan

The aggregate value of cancelling delay by all orders.

LatencyRegistration : TimeSpan

The aggregate value of registration delay by all orders.

方法

ProcessMessage(Message) : TimeSpan?

To process the message for transaction delay calculation. Messages of OrderRegisterMessage, OrderReplaceMessage, OrderCancelMessage and ExecutionMessage types are accepted.

message
Message.

返回值: The transaction delay. If it is impossible to calculate delay, will be returned.

Reset()

To zero calculations.