Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    BertrandNinjaTrader Customer Service

    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.

        BertrandNinjaTrader Customer Service

        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.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by llanqui, Today, 03:53 AM
            0 responses
            4 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            10 views
            0 likes
            Last Post burtoninlondon  
            Started by AaronKoRn, Yesterday, 09:49 PM
            0 responses
            14 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Yesterday, 08:42 PM
            0 responses
            11 views
            0 likes
            Last Post carnitron  
            Started by strategist007, Yesterday, 07:51 PM
            0 responses
            14 views
            0 likes
            Last Post strategist007  
            Working...
            X