The help file mentions OnOrderStatus() and OnExecutionsUpdate() however there is no documention on what I assume are these Event handlers.
I'm assuming OnOrderStatus() is fired every time an Order Status Change occures. This would be very usefull for NinjaScript coderswho want to write some code in reposonse to Status changes realtime and the same thing for Executions.
As I understand Ninjascript after having read the help file and looked at the example script files, we are supposed to put all of our realtime code in the OnBarUpdate() event handler. This limits all realtime update code to only fire when a new tick comes in instead of when the actual event occured.
Do we have OnOrderStatus() available to use and how do we use it?
Comment