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 judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        53 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        33 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        5 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        19 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        6 views
        0 likes
        Last Post cre8able  
        Working...
        X