Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple accounts show different positions (Rithmic/IBKR)

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

    Multiple accounts show different positions (Rithmic/IBKR)

    Sorry if this is not the correct forum, please advise if not. I'm new to APEX/Rithmic and am using the replikanto trade copier. I'm also connected to an IBKR account via the gateway. I'm using the NT Sim account to send orders to Rithmic and IBKR via replikanto.

    Inside NT I've noticed that if I have an open position with say 4 contracts with an average price of 5987 and I sell 2 contracts.

    The IBKR account will simply sell 2 contracts and the average price remains at 5987.I'm using NT with IBKR all the time and this is how it's working always.

    However, after the sale of 2 contracts the Rithmic accounts and the Sim leader account will change to show the average entry price now of 5980 with 2 contracts. And the open P&Ls are very different compared to the IBKR account.

    Please see three screenshots with shows each account immediately after the selling of 2 contracts. Does anyone know what is happening here?

    And just to confirm ALL accounts sold 2 contracts @ the same price of 5995.50.
    Attached Files
    Last edited by several; 01-16-2025, 11:14 AM.

    #2
    Hello several,

    Thank you for the message.

    Since you are using a 3rd party trade copier to submit and manage these orders, you will have to reach back out to the Developer of that trade copier and ask them how it is expected to work with the different brokers and accounts.
    If the behavior continues while only using the default Order Entry buttons from the platform, please use the following steps to send your log and trace files to the support team directly from your NinjaTrader Platform so we may investigate this behavior further:
    • Within NinjaTrader, go to the Control Center > Help > Email Support...
    • To: Set this to "Platform Technical Support"
    • Subject: Copy and paste the Forum URL
    • Attach: Attach a file, picture, or compressed file to share multiple files/pictures
    • Body: Include any other information you would like to share on the situation
    • Make sure 'Log and Trace files' is checked to include the requested files
      • Send the email
    ​Please let us know if we may provide any further assistance.
    Clayton G.NinjaTrader Customer Service

    Comment


      #3
      Hello. Actually I did some tests and it's not related to the trade copier. I turned it off and ran some tests with the SIM account from NT.

      When using IBKR as the broker via NT as I always do. Assume I purchase 2 contracts @ 1000 each. I then sell 1 contract @ 500. The result is I have 1 contract left @ 1000 entry price. This is how it's always working.

      When using the SIM account from NT or indeed the Rithmic accounts. With the exact same position (2 contracts purchased at 1000), after the sale of the 1 contract @ 500. The remaining 1 contracts average price is changed. Please see the screenshots to see what I mean.

      With IBKR. When I sell part of a position, the entry price remains the same but with the NT accounts, the entry price changes.

      The screenshot shows the price change in the SIM account after selling half the position.
      Attached Files

      Comment


        #4
        Hello Several,

        Thank you for the update.

        This would mean that Interactive Brokers sends the Average Entry Price signal differently than the other brokers.
        • This value is coming from your broker's connection to the order servers.

        For most brokers, the value will update and change as the Average Position Value changes. Due to FIFO (First In First Out), the Positions will always be Exited in the order they were Entered.
        • Buy 1 at 10, Average is 10
        • Buy a 2nd at 20, the Average is 15 ((10+20) / 2)
        • Buy a 3rd at 30, the Average is 20 ((10+20+30) / 3)
        • You exit the first position, now the Average is 25 ((20+30) / 2)
        • You exit the second position, now the Average is 30
        If this behavior is different than the way it is working with Interactive Brokers, than that is a choice of their system and how it calculates the Average Entry Price.


        Please let us know if we may provide any further assistance.
        Clayton G.NinjaTrader Customer Service

        Comment


          #5
          Is there a way to disable FIFO? Reading posts from a couple years ago it seems there was an option to disable it but I cannot find it in my settings.
          Last edited by several; 01-16-2025, 11:51 AM.

          Comment


            #6
            Hello Several,

            Thank you for the message.

            No. There is no way to disable FIFO.

            Additionally, this is a Brokerage Account setting and not dictated by NinjaTrader Platform.
            • NinjaTrader Brokerage does NOT support any other order fill method.

            You would have to reach out to your other brokers directly to ask them if they can switch their accounts off of FIFO.


            Please let us know if we may provide any further assistance.
            Clayton G.NinjaTrader Customer Service

            Comment


              #7
              I'm still trying to figure this out. IBKR uses FIFO by default and this cannot be changed on futures.

              However, it seems like they are not applying FIFO on intraday trades.

              Comment


                #8
                Hello several,

                Thank you for the update.

                Please reach out to Interactive Brokers support team directly and ask them how they calculate that value as it is coming from their servers.


                Please let us know if we may provide any further assistance.
                Clayton G.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by litamm89, 02-01-2025, 11:33 AM
                2 responses
                31 views
                0 likes
                Last Post litamm89  
                Started by Stanfillirenfro, Today, 06:50 AM
                12 responses
                45 views
                0 likes
                Last Post bltdavid  
                Started by carnitron, 02-01-2025, 10:25 PM
                7 responses
                62 views
                0 likes
                Last Post carnitron  
                Started by fjwltn, Yesterday, 09:51 PM
                2 responses
                12 views
                0 likes
                Last Post fjwltn
                by fjwltn
                 
                Started by millsd117, Today, 06:09 PM
                0 responses
                8 views
                0 likes
                Last Post millsd117  
                Working...
                X