Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Failed to execute DB

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

    Failed to execute DB

    Hi, I received a message "Failed to execute DB job 'executionUpdateJob':
    ObjectSpace:Entity Object not being Tracked - NinjaTrader.Cbi.Execution:
    ExcID...." for several ExcID repeated over a few minutes (Log Category: Default-GreenColor).
    After these few minutes the problem did not appear again (about 8 hours since). Any clues?

    Thanks,

    #2
    Hmm .. sorry I would not know. I needed a reproducible scenario to analyze.

    Comment


      #3
      Well, I have a script up and running on a dozen of markets for a couple of days now, along with one chart and the market analyzer.
      (The messages in the log reappeared. Don't seem to crash the application.)

      Similar setup in another machine (with no charts and market analyzer up) and for more days did not show any problems.
      I've noticed in an old post (6.5--) to rename the database to old and restart. Would that apply to NT7 as well?

      If left as is would the application crash at some point?

      thanks,

      Comment


        #4
        - The application should not crash. It's just than an execution could not be saved to the DB.
        - renaming the DB would not address the cause of trouble

        Comment


          #5
          To doublecheck, would this DB failure affect in regards
          of the ongoing signal generation by the script?
          Thanks,

          Comment


            #6
            No, it would not impact the strategy itself nor signal generation in particular.

            Comment


              #7
              I took a look on the trace files. There are Warning messages
              of the following:
              Db.Globals.StrategyUpdateJob2: WARNING: Execution='' Instrument='EURJPY' Account='Sim101' name='Virtual Entry Execution' Exchange=Ace .....

              Following this Warning there are many more WARNINGS refering to all signals taken on EURJPY since NT was loaded.

              EURJPY is assigned to Default (not Ace). It seems that after long
              operation the Instrument's Exchange reverts to Ace (1st one in the list)
              Any clues?

              Comment


                #8
                It might help if you posted the complete message. Thanks

                Comment


                  #9
                  2009-11-05 09:00:07:359 Db.Globals.StrategyUpdateJob2: WARNING: Execution='' Instrument='$GBPCHF' Account='Sim101' Name='Virtual Entry Execution' Exchange=Ace Price=1.68119090909091 Quantity=33 Market position=Long Commission=0 Order='-None-' Time='11/3/2009 5:00:00 PM'
                  2009-11-05 09:00:07:359 Db.Globals.StrategyUpdateJob2: WARNING: Execution='f218ed0e28564f9291e9a93deba182ee' Instrument='$GBPCHF' Account='Sim101' Name=‘‘ Exchange=Default Price=1.6855 Quantity=1 Market position=Short Commission=0 Order='128c406f7bb141cbbb7bdfbdf9ff722c' Time='11/3/2009 8:00:03 PM' Rate=0.973994350832765
                  2009-11-05 09:00:07:359 Db.Globals.StrategyUpdateJob2: WARNING: Execution='88c33d02f51747abbd6670c63cc8a262' Instrument='$GBPCHF' Account='Sim101' Name=‘‘ Exchange=Default Price=1.6851 Quantity=1 Market position=Short Commission=0 Order='75d4182aad3141658898d26e5732673d' Time='11/4/2009 10:00:04 AM' Rate=0.980103891012447
                  2009-11-05 09:00:07:375 Db.Globals.StrategyUpdateJob2: WARNING: Execution='e3149ee9d1c144b2b5bd8f268b2d9c7f' Instrument='$GBPCHF' Account='Sim101' Name=‘‘ Exchange=Default Price=1.6795 Quantity=1 Market position=Short Commission=0 Order='d78688c718ca4defa88a57f9648a2ec7' Time='11/5/2009 3:00:04 AM' Rate=0.982414775518224
                  2009-11-05 09:00:07:609 (G) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='RealizedProfitLoss' Currency='Unknown' Value=50905.9675338275
                  2009-11-05 09:02:24:921 Failed to execute DB job 'ExecutionUpdateJob': ObjectSpace: Entity Object not being Tracked - NinjaTrader.Cbi.Execution:9be44a479d674f169534d319 cfae9548

                  Comment


                    #10
                    Thanks. The Ace issue does not seem to be related. However, I put in some code for NT7B5 which "should" prevent this happening.

                    Comment


                      #11
                      Actually, I see the "..Exchange=Ace.." entries in trace files from 6.5 as well,
                      except that in 6.5 I don't see the "Failed to execute DB job ...Entity Object
                      not being Tracked..."
                      The only change I made in the code from 6.5 to 7 was to substitute EnterLong(...) with
                      SubmitOrder(...)

                      Comment


                        #12
                        Hi,
                        I still receive occasionally the DB related messages
                        "Failed to track DB object.....".

                        Each of this messages opens a new window.
                        Also, if the connection goes down each of the strategies
                        pops up a window. (You might end up with dozens of these
                        windows that you have to click OK to get rid of).
                        Is there a way to suppress all these messages into a single window?
                        which could be up at al times or whenever you click it?

                        Thanks,
                        Last edited by trend; 11-28-2009, 02:14 PM.

                        Comment


                          #13
                          There is no way to surpress and would be great if you reported back once we release beta 5 since we put in some code that we hope should prevent this from happening.
                          RayNinjaTrader Customer Service

                          Comment


                            #14
                            I get this message literally everytime trade triggers (in replay). got it like a dozen times already in past half hour of running replay... running beta5

                            Comment


                              #15
                              Which message are you referring to?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              625 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              359 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              105 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              562 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              567 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X