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 Haiasi, Today, 06:53 PM
                              1 response
                              4 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ScottWalsh, Today, 06:52 PM
                              1 response
                              11 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ScottW, Today, 06:09 PM
                              1 response
                              5 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ftsc2022, 10-25-2022, 12:03 PM
                              5 responses
                              256 views
                              0 likes
                              Last Post KeyonMatthews  
                              Started by Board game geek, 10-29-2023, 12:00 PM
                              14 responses
                              244 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Working...
                              X