Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bug API

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

    bug API

    Hi

    Allready installed newest
    version 6.0.1000.6

    the function:
    NTMarketPosition("Uxxx");

    deliver a wrong 0 position after a IB Logout/Login

    regards
    Vincent

    #2
    This is a current limitation of this function. NT 6.5 due out in beta this week resolves this.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi Ray

      I don't see at this time the beta release

      It will posted in the normal download page ?

      thank's
      Vincent

      Comment


        #4
        It is slotted for beta release on Tuesday.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi

          Have you a new release date ??

          Regards
          Vincent

          Comment


            #6

            Comment


              #7
              Automated Trading

              Hello Vincent,

              You can download our latest beta release of NinjaTrader 6.5, which should resolve your inquiry from the link below.

              Comment


                #8
                NT version 6.5.0.2 is now installed

                but ...

                the bug with NTMarketPostion("xxx")
                persist ...

                after one restart of TS we receive the famous 0 position

                after a manuel change im TWS the position is wrong ... :

                Attached Files

                Comment


                  #9
                  Automated Trading

                  Hello Vincent,

                  pls code some simple TS EL strategy only holding this statement:

                  Print("Position size: " + NumToStr(NTMarketPosition(""), 0));

                  (see NTSample in TS for a complete sample)


                  Then place trades in TWS and see as it's working
                  Last edited by Guest; 11-08-2007, 08:12 AM.

                  Comment


                    #10
                    Hallo Chris

                    problem persist

                    IN THE SAME session IT work, but after a deconnect/connect the position is wrong

                    please see the image (position 1 and it should be 3):

                    Attached Files

                    Comment


                      #11
                      Thanks for the helpful screen shot. We will forward this to development for further investigation.
                      RayNinjaTrader Customer Service

                      Comment


                        #12
                        Hi

                        Did you find the bug reason ?

                        With this problem NinjaTrader <> TS <> IB is simply useless

                        thank's
                        Vincent

                        Comment


                          #13
                          It's working here as expected. A member of our support team with contact you. Please send your phone number to "support AT ninjatrader DOT com" and refer to this post.

                          Comment


                            #14
                            Dierk

                            Thank's

                            I have found now something:

                            Work if :
                            1. default account set on IB-account "Uxxxx"
                            2. call of NTmarketposition WITHOUT !! Uxxx

                            if LastBarOnChart and NTConnected(1) then begin
                            if NTMarketPosition("") = 0 then begin

                            Don't work with:

                            if LastBarOnChart and NTConnected(1) then begin
                            if NTMarketPosition("DUxxxxx") = 0 then begin

                            Comment


                              #15
                              Curious: why would you call
                              >> NTMarketPosition("DUxxx")
                              as your account name is "Uxxx"?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by balltrader, Yesterday, 04:28 PM
                              1 response
                              6 views
                              0 likes
                              Last Post NinjaTrader_Jason  
                              Started by SteveReiza, 02-25-2024, 04:18 PM
                              5 responses
                              20 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by Kawasaki, 03-18-2021, 09:48 PM
                              13 responses
                              6,442 views
                              0 likes
                              Last Post NinjaTrader_Jason  
                              Started by tonynt, 05-21-2019, 06:27 AM
                              9 responses
                              379 views
                              1 like
                              Last Post NinjaTrader_Jason  
                              Started by jamesliotttrading, 02-22-2024, 12:15 PM
                              4 responses
                              16 views
                              0 likes
                              Last Post jamesliotttrading  
                              Working...
                              X