Table of Contents

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

byOrders bool

To calculate the position on realized volume for orders (true) or by trades (false).

Properties

ByOrders

To calculate the position on realized volume for orders (true) or by trades (false).

public bool ByOrders { get; }

Property Value

bool

Methods

ProcessMessage(Message)

To calculate position.

public PositionChangeMessage ProcessMessage(Message message)

Parameters

message Message

Message.

Returns

PositionChangeMessage

The position by order or trade.