PositionPipeline

StockSharp.Algo.Strategies.Decomposed

Position event handling.

Constructors

PositionPipeline(IStatisticManager)

Position event handling.

stats
Statistic manager.

Methods

Process(Position)

Process a position update, auto-detecting new vs changed.

position
The position.
Process(Position, bool)

Process a position update.

position
The position.
isNew
Whether this is a new position (vs. update).

Events

NewPosition : Action<Position>

Fires when a completely new position appears.

PositionChanged : Action<Position>

Fires when an existing position changes.