Click or drag to resize

RotationOnOrderUpdate Method

Override OnOrderUpdate() to add some strategy specific behavior.

Namespace:  NinjaTrader.NinjaScript.Strategies.MZpackStrategies
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
protected override void OnOrderUpdate(
	Order order,
	double limitPrice,
	double stopPrice,
	int quantity,
	int filled,
	double averageFillPrice,
	OrderState orderState,
	DateTime time,
	ErrorCode error,
	string nativeError
)

Parameters

order
Type: Order
limitPrice
Type: SystemDouble
stopPrice
Type: SystemDouble
quantity
Type: SystemInt32
filled
Type: SystemInt32
averageFillPrice
Type: SystemDouble
orderState
Type: OrderState
time
Type: SystemDateTime
error
Type: ErrorCode
nativeError
Type: SystemString
See Also