Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What happening?

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

    What happening?

    Hi,
    I trade live with a strategy that I wrote. I execute it on a chart. It triggered an entry and in a Position tab I'm in a position but on a Strategy tab I'm not. This results in not executing a stoploss order as well.
    This is my log:
    01/12/2009 04:42:30 Default Cbi.MarketData.StartNow: exception caught: Item has already been added. Key in dictionary: 'NGF0' Key being added: 'NGF0'
    01/12/2009 04:42:29 Position Instrument='NG 01-00' Account='73678450!RCG!Mirus' Avg price=4.821 Quantity=1 Market position=Short Operation=Insert Currency=UsDollar
    01/12/2009 04:42:29 Execution Execution='18900020091201044230TN0001970' Instrument='NG 01-00' Account='73678450!RCG!Mirus' Exchange=Nymex Price=4.821 Quantity=1 Market position=Short Operation=Insert Order='12075136' Time='01/12/2009 04:42:29'
    01/12/2009 04:42:29 Order Order='12075136/73678450!RCG!Mirus' Name='CrE_NG2' New State=Filled Instrument='NG 01-10' Action=SellShort Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=1 Fill price=4.821 Error=NoError Native error=''
    01/12/2009 04:42:29 Order Order='12075136/73678450!RCG!Mirus' Name='CrE_NG2' New State=Working Instrument='NG 01-10' Action=SellShort Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=0 Fill price=0 Error=NoError Native error=''
    01/12/2009 04:42:29 Order Order='12075136/73678450!RCG!Mirus' Name='CrE_NG2' New State=Accepted Instrument='NG 01-10' Action=SellShort Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=0 Fill price=0 Error=NoError Native error=''
    01/12/2009 04:42:29 Order Order='c169e6eba91742f7b44573323d619d63/73678450!RCG!Mirus' Name='CrE_NG2' New State=PendingSubmit Instrument='NG 01-10' Action=SellShort Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=0 Fill price=0 Error=NoError Native error=''

    Please help
    Baruch

    #2
    Are you able to reproduce at will? Can you reproduce with SampleMACrossOver? What are your settings in Tools>Options>Strategies>NinjaScript?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,
      No I cannot reproduce it. I have the same strategy with a sim account and it works perfectly. On a real account yesterday and today I have problems.
      My Settings are:
      1.Wait until flat
      2. Per entry execution
      3. Cancel orders on termination

      What that has to do with my problem?

      Comment


        #4
        Would not impact your scenario. Please provide full logs/trace files.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi Josh,
          As I said I had this problem yesterday and today so I attach logs for two days.

          Baruch
          Attached Files

          Comment


            #6
            Baruch,

            Please check your Instrument Manager and ensure that the NG instrument uses the NYMEX exchange.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Josh,
              It does. You also can see it from the log:
              2009-11-30 10:43:22:687 (Mirus) Hosted.Adapter.OnExecutionUpdateNow: account='73678450' fcm='RCG' ib='Mirus' exchange='NYMEX' ticker='NGF0'
              If I choose Globex the chart does not updates.

              Baruch
              p.s.
              I checked it again and it is on Nymex.

              Comment


                #8
                To confirm, you have unchecked globex correct?
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  No. It always was checked. I just choose the Nymex when I added the instrument and it worked corectly. Now I unchecked Globex but I didn't run it live yet. How did it worked until now?

                  Baruch

                  Comment


                    #10
                    A colleague of mine states that you can try checking Nymex with Default as the exchanges and it should work. I would not be able to speculate on what or why the prior behavior was what it was.

                    What looks odd is this: Position Instrument='NG 01-00'
                    How exactly do you have it set to 01-00?
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Hi Josh,
                      I don't understand what you're saying. I use NG 01-10 as you can see in the trace:
                      2009-11-30 08:58:01:595 (Mirus) Cbi.Order.Submit: Order='65f01cb3531e462189d7cdd169b3681c/73678450!RCG!Mirus' Name='CrE_NG2' State=Initialized Instrument='NG 01-10'

                      I don't understand what you mean by default. When I add NG I choose Nymex from a choice box.

                      Baruch

                      p.s.
                      I hope deleting the DB will help, because its costly experience.

                      Comment


                        #12
                        Your trace from your post #5 says you are on 6.5.1000.9.
                        a) why is it, that you are posting that issue on a NT7 beta forum?
                        b) please make sure you are on latest 6.5 before conducting any further tests using NT6.5

                        Comment


                          #13
                          I'm sorry that I posted on NT7 forum. This is the only one I found for bug reports.
                          I will upgrade to 6.5 latest, but as I said I traded for some time with no problems, and now this.

                          Baruch

                          Comment


                            #14
                            That's why we upgrade and fix issues in NT6.5 as well: to prevent that issues like this would happen to our users. Of course, you would not benefit as you didn't upgrade.

                            I moved the thread to the right forum for NT6.5 strategies.

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                            0 responses
                            648 views
                            0 likes
                            Last Post Geovanny Suaza  
                            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                            0 responses
                            369 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by Mindset, 02-09-2026, 11:44 AM
                            0 responses
                            108 views
                            0 likes
                            Last Post Mindset
                            by Mindset
                             
                            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                            0 responses
                            572 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by RFrosty, 01-28-2026, 06:49 PM
                            0 responses
                            574 views
                            1 like
                            Last Post RFrosty
                            by RFrosty
                             
                            Working...
                            X