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 Segwin, 05-07-2018, 02:15 PM
            14 responses
            1,789 views
            0 likes
            Last Post aligator  
            Started by Jimmyk, 01-26-2018, 05:19 AM
            6 responses
            837 views
            0 likes
            Last Post emuns
            by emuns
             
            Started by jxs_xrj, 01-12-2020, 09:49 AM
            6 responses
            3,293 views
            1 like
            Last Post jgualdronc  
            Started by Touch-Ups, Today, 10:36 AM
            0 responses
            13 views
            0 likes
            Last Post Touch-Ups  
            Started by geddyisodin, 04-25-2024, 05:20 AM
            11 responses
            63 views
            0 likes
            Last Post halgo_boulder  
            Working...
            X