Class PositionManager
- Namespace
- StockSharp.Algo.Positions
- Assembly
- StockSharp.Algo.dll
The position calculation manager.
public class PositionManager : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable, IPositionManager
- Inheritance
-
PositionManager
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
PositionManager(bool)
Initializes a new instance of the PositionManager.
public PositionManager(bool byOrders)
Parameters
Properties
ByOrders
public bool ByOrders { get; }
Property Value
Methods
ProcessMessage(Message)
To calculate position.
public virtual PositionChangeMessage ProcessMessage(Message message)
Parameters
message
MessageMessage.
Returns
- PositionChangeMessage
The position by order or trade.