Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Interactive Brokers - How to handle orders on reversals

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

    Interactive Brokers - How to handle orders on reversals

    Hi all,

    This might not be the right place to post this. Apologies in advance if that's the case.

    I'm putting the fInishing touches on an automated strategy that sends two seperate orders on trade reversals. For example, if I'm long SPY 50 shares and my stop price is hit, my strategy sends one order to close the existing trade, waits till that order is filled, and then places a second order to short SPY for 50 shares at market.

    I originally coded my strategy this way to ensure proper order fills and market management at the cost of multiple broker fees (one for entry, one for exit).

    However, could the above be achieved by simply sending a 100 share SPY short order to IB? It would, in theory, sell the existing 50 share SPY order, and leave the remaining 50 shares in the order for shorting.

    Outside of Ninjatrader, this can be done in IB, and I *believe* the above example (selling 100 shares short) results in a single transaction fee in IB.

    Can anyone at NT or another forum poster confirm this?
    Thanks in advance as always for your time!

    - SpIder

    #2
    Spiderbird,

    This wouldn't be possible with the managed approach, however you might be able to do so with the unmanaged approach.

    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Hi Adam,

      I forgot to mention in my original post that I'm currently using an unmanaged approach to send orders to IB. What I'm trying to do is confirm that the scenario I described in my original post was possible (i.e. has anyone had experience doing this).

      The only other example I've seen of it being done is referenced on another website:

      Comment


        #4
        Spiderbird,

        Yes, this appears to verify it is possible. I would assume so as well just judging by what I know of the unmanaged approach. You should be able to test it with the SIM101 account with commissions.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Hi Adam,

          Yep, I've tried this in the Sim101 environment, and am going to test drive it tomorrow in the AM on the market open. Thanks for your input!

          - Spider

          Comment


            #6
            Should be working as intendend Spider, at least from your reading your implementation in unmanaged. Please let us know should you see any issues and a good start into the week.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Haiasi, 04-25-2024, 06:53 PM
            2 responses
            16 views
            0 likes
            Last Post Massinisa  
            Started by Creamers, Today, 05:32 AM
            0 responses
            4 views
            0 likes
            Last Post Creamers  
            Started by Segwin, 05-07-2018, 02:15 PM
            12 responses
            1,786 views
            0 likes
            Last Post Leafcutter  
            Started by poplagelu, Today, 05:00 AM
            0 responses
            3 views
            0 likes
            Last Post poplagelu  
            Started by fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,407 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Working...
            X