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 appear unlimited

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

    Limit Orders appear unlimited

    Hello All,

    I created a Bracket order using an Unmanaged approach. Please see the relevant code below. My understanding is that once say "tickLimitLongStop" is reached, the order immediately becomes available for filling, with the " tickLimitLong " being the max that the system must fill me at. If it cannot provide a fill at this limit or better then I get no fill. Is this correct? Because I sometime get fills well in excess of my tickLimitLong.

    Can someone comment please



    tickLimitLong = Close[0] + (11*TickSize);
    tickLimitLongStop = Close[0] + (8*TickSize);
    tickLimitShort = Close[0] - (11*TickSize);
    tickLimitShortStop = Close[0] - (8*TickSize);
    J = 0;
    longOrder = SubmitOrder(0, OrderAction.Buy, OrderType.StopLimit, 1, tickLimitLong, tickLimitLongStop, String.Format("Oil" + qty), "long limit entry" + Close[0]);
    shortOrder = SubmitOrder(0, OrderAction.SellShort, OrderType.StopLimit, 1, tickLimitShort, tickLimitShortStop, String.Format("Oil" + qty), "Short limit entry" + Close[0]);

    #2
    Hello cocopod,

    Thank you for your post.

    What are some examples of excessive fills? Is this in simulation or live trading? Is the fill above the limit on the buy and below the limit on the sell?

    Comment


      #3
      hi Again Patrick,

      I am in SIM but using live data.

      >>Is the fill above the limit on the buy and below the limit on the sell?<<

      I get examples of both

      Comment


        #4
        Hello cocopod,

        Thank you for your response.

        Can you send your log and trace files to platformsupport[at]ninjatrader[dot]com with this thread in the subject line? In addition, please include 'ATTN: Patrick' in the body of the e-mail.

        You can do this by going to the Control Center-> Help-> Mail to Platform Support.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, 05-13-2024, 06:53 PM
        4 responses
        28 views
        0 likes
        Last Post algospoke  
        Started by dtl-saw, 12-29-2022, 09:12 AM
        46 responses
        3,182 views
        1 like
        Last Post sonia0101  
        Started by AlphaOptions, 06-18-2013, 08:24 AM
        7 responses
        2,186 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by FAQtrader, 04-25-2024, 12:00 PM
        14 responses
        215 views
        0 likes
        Last Post sonia0101  
        Started by bsbisme, Today, 05:08 PM
        0 responses
        10 views
        0 likes
        Last Post bsbisme
        by bsbisme
         
        Working...
        X