OnOrderTrace()
<< Click to Display Table of Contents >> OnOrderTrace() |
An event driven method used for strategies which will allow you to customize the output of TraceOrders.
Warning: Overriding this method with disable the default order tracing that is generated by the NinjaTrader core. It is then up to you to pass the message generated to the NinjaTrader output window using the Print() method. Generally, overriding this method is not required. |
This method does not return a value.
protected override void OnOrderTrace(DateTime timestamp, string message)
{
}
timestamp |
The time that the order trace was generated |
message |
The message that is generated |
protected override void OnOrderTrace(DateTime timestamp, string message) |
Additional Reference Samples
Additional reference code samples are available the NinjaScript Educational Resources section of our support forum.