2 milliseconds, 16ms, 2ms, 4 ms, 2ms, 2ms, 31ms.
Most of the time it only took ninjatrader 2 milliseconds to "submit" the order after the mouse button was clicked which is really fast. But why did ninja take 31 milliseconds one time and 16 milliseconds another time to submit an order as this is a big difference from the normal 2 milliseconds it takes ninja to submit an order. I also have TradeStation running 11 charts with very large EL programs (4300 line codes) applied to each of the 11 charts which run the EL programs each tick. Maybe the 31 milliseconds long time was caused by TradeStation using the thread at the same time ninja wanted to use the thread hence the thread was busy?? If this is the case is there any way to fix this problem like changing the ninjatrader process priority from Normal to AboveNormal? Or should I really be running NinjaTrader on the first CPU core and TradeStation on the second core (As I only have a dual core processor - Intel i5) via the "processor affinity" feature in task manager? what is your recommendation here in order to help ninja to submit orders in a fast time like 2 ms but in a much more consistent manner, like 2ms for 90% of all orders submitted across a given trading week?
Thanks in advance.
Regards,
Rod
Comment