Table of Contents

Interface ILatencyManager

Namespace
StockSharp.Algo.Latency
Assembly
StockSharp.Algo.dll

The interface of the order registration delay calculation manager.

public interface ILatencyManager : IPersistable
Extension Methods

Properties

LatencyCancellation

The aggregate value of cancelling delay by all orders.

TimeSpan LatencyCancellation { get; }

Property Value

TimeSpan

LatencyRegistration

The aggregate value of registration delay by all orders.

TimeSpan LatencyRegistration { get; }

Property Value

TimeSpan

Methods

ProcessMessage(Message)

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

TimeSpan? ProcessMessage(Message message)

Parameters

message Message

Message.

Returns

TimeSpan?

The transaction delay. If it is impossible to calculate delay, null will be returned.

Reset()

To zero calculations.

void Reset()