| StrategyOnPositionUpdate Method |
Override to implement custom behavore on native NinjaTrader position update. base.OnPositionUpdate() call required.
Namespace:
MZpack.NT8.Algo
Assembly:
MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax public virtual void OnPositionUpdate(
Position position,
double averagePrice,
int quantity,
MarketPosition marketPosition
)
Parameters
- position
- Type: Position
- averagePrice
- Type: SystemDouble
- quantity
- Type: SystemInt32
- marketPosition
- Type: MarketPosition
See Also