LatencyManagerState
StockSharp.Algo.Latency
Default implementation of ILatencyManagerState.
Implementa: ILatencyManagerState
Propriedades
LatencyCancellation : TimeSpan
The aggregate value of cancelling delay by all orders.
LatencyRegistration : TimeSpan
The aggregate value of registration delay by all orders.
Métodos
AddCancellation(long, DateTime)
Add pending cancellation.
- transactionId
- Transaction ID.
- localTime
- Local time.
AddRegistration(long, DateTime)
Add pending registration.
- transactionId
- Transaction ID.
- localTime
- Local time.
Clear()
Clears all adapter states and resets current state to Disconnected.
TryGetAndRemoveCancellation(long, DateTime) : bool
Try get and remove pending cancellation.
- transactionId
- Transaction ID.
- localTime
- Local time if found.
Retorna: if found and removed.
TryGetAndRemoveRegistration(long, DateTime) : bool
Try get and remove pending registration.
- transactionId
- Transaction ID.
- localTime
- Local time if found.
Retorna: if found and removed.