Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit Orders immediately filled in Historical

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

    Limit Orders immediately filled in Historical

    Hello

    I'm working on a new strategy.

    I'm sending a LIMIT order way above current market, somehow ninjatrader is filling it.

    I've put TraceOrders, and i'm seeing this :

    Code:
    03/05/2013 14:00:00 Entered internal PlaceOrder() method at 03/05/2013 14:00:00: BarsInProgress=0 Action=Buy OrderType=Limit Quantity=0.1M LimitPrice=128.74 StopPrice=0 SignalName='Entry Long' FromEntrySignal=''
    03/05/2013 14:00:00  - New order : Entry Long
    03/05/2013 14:00:00  - U  PendingSubmit - Entry Long
    03/05/2013 14:00:00  - U  Accepted - Entry Long
    03/05/2013 14:00:00  - U  Working - Entry Long
    03/05/2013 14:00:00  - U  Filled - Entry Long
    (The New Order and U logs are from OnOrderUpdate())


    On The image, the vertical bar is drawn when i send my order, and the diamond represents the limit entry price.
    Order is sent as LiveUntilCancelled.
    Attached Files

    #2
    zark.be, I would expect this for a regular limit order - it would be marketable then, meaning executing immediately. You specify this price order better with this order type, so the current lower price > is the better price.

    Comment


      #3
      What if i only want to be executed at that level ?

      Comment


        #4
        You would need to other another order type them for example a StopLimit order, where a stop order would activate your limit then.

        Comment


          #5
          Thank you,

          I think my week-end wasn't long enough, got confused with limit and stop

          works like a charm now

          Comment


            #6
            No worries, happens to the best! Have a good day.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            63 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            35 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            54 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            61 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            48 views
            0 likes
            Last Post CarlTrading  
            Working...
            X