| MZpackAlgoStrategy1OnOrderUpdate Method |
Override OnOrderUpdate() to add some strategy specific behavior.
Namespace:
NinjaTrader.NinjaScript.Strategies.MZpackAPISamples
Assembly:
MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax 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