Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT core software failure
Collapse
X
-
Peter,
I'm glad I'm not alone in seeing issues. I also use IB, but have yet to quantify all of the problems I've seen. What I've thought about doing is to shut down NT and TWS every Sun night. Then Mon morning startup fresh with NT and TWS and document any and all anomalies during the week. I have a script that keeps TWS logged on by changing the auto-logout time. If something goes wrong during the week, I plan to use Market Replay to attempt to reproduce it.
Comment
-
Bertrand,
Today I had a strategy failure with the following output:
**NT** Error on calling 'OnBarUpdate' method for strategy 'TradeRetrace/03f9a734cbaa468da279e8abaf33aaa5': Index was outside the bounds of the array.
**NT** Error on calling 'OnBarUpdate' method for strategy 'TradeRetrace/5d6ab5eaed30485d8bd2619feea9571f': Index was outside the bounds of the array.
**NT** Error on calling 'OnBarUpdate' method for strategy 'TradeRetrace/09f1691795cf48489b6d6ebbb10e32ea': Index was outside the bounds of the array.
This "index" and "array" are not in my code but are in the NT code. Later today I will try and use Market Replay to reproduce the event. I have a feeling it will not fail in Market Replay.
Comment
-
Bertrand,
I talked to a broker that specializes in auto-trading, and he said that limit orders are not reliable in NT (for strategy trading only). My next step is going to be to change over how I process my orders. I know my code is solid, so within my code I will detect when a limit is reached and then just place a market order for the next bar. I believe this may clear up the problem. It is not a big difference to place market vs limit orders if you know when to place an order in the first place. It is the market timing that is more important than the limit. It is a disappointment, but when I think of the complexity and number of transactions that have to go out to the broker it is no wonder limit orders are a problem for auto-trading.
Comment
-
Thanks for the feedback tradetree, I'm not aware of a per se issue with limit orders in NT's autotrading engine, so I would be looking forward to a scenario that would expose it. That being said, for sure trading with market orders is a 'breeze' compared to working limits...it just requires to step back a bit, doing less trades and becoming less reliant on scalps, so the slippage is not a point anymore eying your avg trade.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
30 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
68 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment