![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I had to stop using 6.5 today. While running 3 strategies, one of the strategies would not be run. This behavior was inconsistent; it was not always the same symbol which would not run. The strategy would have the historical data fed to it, but OnBarUpdate would never be called with the real time data. I verified this by printing the value of Historical at the very beginning of OnBarUpdate. This appears to be working fine in 6.0. I was using Nasdaq symbols through the IQFeed adapter against the simulation account, using bars from 1 to 10 minutes. I don't have specific steps to reproduce but it occurred very frequently using the combination above, hopefully you will be able to reproduce.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
No issue here.
- Please check your logs. - can you reproduce with SampleMaCrossOver?
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I do see this entry in the log.xxx.txt file for the exact symbols I was having an issue with:
11/12/2007 1:16:25 PM|3|4|Cbi.MarketData.StartNow: exception caught: Item has already been added. Key in dictionary: 'ATHR' Key being added: 'ATHR' What does this mean? |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Which provider are you subscribed to?
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
IQFeed. I've only been on it for the past 2 days so I'm not incredibly familiar with how it works.
|
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Hmm ... could it be that you have multiple instruments with the same IQFeed mapping ATHR and you subscribe to them simultaneously?
This would screw up the IQFeed adapter. I will change the code the cover that in the IQFeed adapter. This code change will be available with next update.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I very seriously doubt that is the case, it's a new DB and I have added a few new symbols by hand. Also -- if I restart NT, the same symbol will work and a different one will fail. Is there any more information I can give to help figure out what's going on?
|
|
|
|
|
|
#8 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
I suggest retrying after next update.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I am now seeing this on 6.0 as well. I am sure this is related to the open ticket I have with support.
|
|
|
|
|
|
#10 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please retry after next 6.5 update.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I don't know if this is related or not, but I also see this message in the log tab occasionally:
Dtn.Adapter.MessageLoopLookup.Xml: Data at the root level is invalid. Line 1, Position 1 Just FYI. |
|
|
|
|
|
#12 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
This likely is not related.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
|
I did not see this issue with beta 4 yesterday. To test, I ran with a couple of the symbols I could not trade with on beta 3.
|
|
|
|
|
|
#14 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Thanks for feedback.
Dierk
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Clearing old strategies from the strategies tab? | mazachan | Miscellaneous Support | 1 | 07-10-2007 06:10 PM |
| Limit Position Strategies displayed in Combo Box & Inactive Strategies | signals | Suggestions And Feedback | 4 | 04-10-2005 12:02 PM |