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