Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unfilled limit orders

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

    Unfilled limit orders

    Hello,

    I have a trouble that is annoying me.

    I send limit orders from a strategy to exit the market. Many times (too many) the orders are correctly exited from the strategy but there is still a partial unfilled portion on the market that appear on the "Positions" tab and not in the "Strategies" tab. How to avoid this?

    I trade with IB

    Thanks

    #2
    Hello guillembm,

    This could be handled through custom code with your strategy. With NinjaScript you can monitor for PartFilled order state and the quantity of each execution. It's possible to send a market order to exit if you don't want to wait to see if those remaining limit orders fill.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks,

      I already do this on OnOrderUpdate but the problem keeps on. Sending Market order I get unnacceptable prices.

      I still think that a nice feature for NT would be to be able to see from a strategy if there is any position open for an instrument.

      thanks

      Comment


        #4
        There's no other handling I could think of here. If there are not enough people to buy/sell at the price you specify, but you still want to exit, then you need to accept a worse price. You can do this with a market order, or changing the price on the limit order.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        158 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        78 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X