PositionManager
StockSharp.Algo.Positions
The position calculation manager.
Erbt von: BaseLogReceiver
Implementiert: IPositionManager, IPersistable, ICloneable<IPositionManager>, ICloneable
Konstruktoren
PositionManager(bool, IPositionManagerState)
The position calculation manager.
- byOrders
- To calculate the position on realized volume for orders () or by trades ().
- state
- State storage.
Eigenschaften
Methoden
Clone() : IPositionManager
Creates a deep copy of a DataSeries
ProcessMessage(Message) : PositionChangeMessage
To process the message for transaction delay calculation. Messages of OrderRegisterMessage, OrderReplaceMessage, OrderCancelMessage and ExecutionMessage types are accepted.
- message
- Message.
Rückgabe: The transaction delay. If it is impossible to calculate delay, will be returned.