Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies not being run

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    No issue here.
    - Please check your logs.
    - can you reproduce with SampleMaCrossOver?

    Comment


      #3
      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?

      Comment


        #4
        Which provider are you subscribed to?

        Comment


          #5
          IQFeed. I've only been on it for the past 2 days so I'm not incredibly familiar with how it works.

          Comment


            #6
            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.

            Comment


              #7
              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?

              Comment


                #8
                I suggest retrying after next update.

                Comment


                  #9
                  I am now seeing this on 6.0 as well. I am sure this is related to the open ticket I have with support.

                  Comment


                    #10
                    Please retry after next 6.5 update.

                    Comment


                      #11
                      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.

                      Comment


                        #12
                        This likely is not related.

                        Comment


                          #13
                          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.

                          Comment


                            #14
                            Thanks for feedback.

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by tkaboris, Today, 06:27 AM
                            4 responses
                            12 views
                            0 likes
                            Last Post tkaboris  
                            Started by sofortune, Today, 10:28 AM
                            1 response
                            3 views
                            0 likes
                            Last Post NinjaTrader_Erick  
                            Started by marcus2300, Today, 10:21 AM
                            2 responses
                            3 views
                            0 likes
                            Last Post NinjaTrader_Erick  
                            Started by proptradingshop, Today, 10:07 AM
                            3 responses
                            5 views
                            0 likes
                            Last Post NinjaTrader_Gaby  
                            Started by DT215, 01-14-2023, 07:59 PM
                            3 responses
                            126 views
                            1 like
                            Last Post proptradingshop  
                            Working...
                            X