NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical NinjaTrader 6.5 Archive > Historical NinjaTrader 6.5 Beta Threads

 
 
Thread Tools Display Modes
Old 11-12-2007, 01:16 PM   #1
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default Strategies not being run

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.
Pete S is offline  
Old 11-12-2007, 01:20 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

No issue here.
- Please check your logs.
- can you reproduce with SampleMaCrossOver?
NinjaTrader_Dierk is offline  
Old 11-12-2007, 01:26 PM   #3
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

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?
Pete S is offline  
Old 11-12-2007, 01:29 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Which provider are you subscribed to?
NinjaTrader_Dierk is offline  
Old 11-12-2007, 01:30 PM   #5
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

IQFeed. I've only been on it for the past 2 days so I'm not incredibly familiar with how it works.
Pete S is offline  
Old 11-12-2007, 01:53 PM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

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.
NinjaTrader_Dierk is offline  
Old 11-12-2007, 02:34 PM   #7
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

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?
Pete S is offline  
Old 11-13-2007, 12:16 AM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

I suggest retrying after next update.
NinjaTrader_Dierk is offline  
Old 11-15-2007, 08:14 AM   #9
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

I am now seeing this on 6.0 as well. I am sure this is related to the open ticket I have with support.
Pete S is offline  
Old 11-15-2007, 08:19 AM   #10
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please retry after next 6.5 update.
NinjaTrader_Dierk is offline  
Old 11-20-2007, 07:41 AM   #11
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

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.
Pete S is offline  
Old 11-20-2007, 07:45 AM   #12
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

This likely is not related.
NinjaTrader_Dierk is offline  
Old 11-30-2007, 05:44 AM   #13
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default

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.
Pete S is offline  
Old 11-30-2007, 05:46 AM   #14
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for feedback.
NinjaTrader_Dierk is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 03:05 PM.