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
-
tradetree, please see if it's reproducible on Market Replay and then forward to me what I need to do to reproduce the issue on my end - those errors could also for example stem from faulty code in your properties, please try reducing the code as much as possible to isolate the issue out.BertrandNinjaTrader Customer Service
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.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Graci117, Today, 09:02 PM
|
1 response
4 views
0 likes
|
Last Post Today, 09:09 PM | ||
Started by ETFVoyageur, Today, 07:55 PM
|
0 responses
7 views
0 likes
|
Last Post
by ETFVoyageur
Today, 07:55 PM
|
||
Started by janio973, Today, 07:24 PM
|
1 response
7 views
0 likes
|
Last Post Today, 07:35 PM | ||
Started by aligator, 01-06-2022, 12:14 PM
|
4 responses
245 views
0 likes
|
Last Post
by john_44573
Today, 06:11 PM
|
||
Started by reynoldsn, Today, 05:56 PM
|
0 responses
14 views
0 likes
|
Last Post
by reynoldsn
Today, 05:56 PM
|
Comment