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 cre8able, 02-11-2023, 05:43 PM
        3 responses
        236 views
        0 likes
        Last Post rhubear
        by rhubear
         
        Started by frslvr, 04-11-2024, 07:26 AM
        8 responses
        113 views
        1 like
        Last Post NinjaTrader_BrandonH  
        Started by stafe, 04-15-2024, 08:34 PM
        10 responses
        46 views
        0 likes
        Last Post stafe
        by stafe
         
        Started by rocketman7, Today, 09:41 AM
        3 responses
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by traderqz, Today, 09:44 AM
        2 responses
        10 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X