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 set2win, 08-04-2021, 09:23 AM
        39 responses
        999 views
        0 likes
        Last Post WaleeTheRobot  
        Started by md4866, Today, 08:15 PM
        0 responses
        2 views
        0 likes
        Last Post md4866
        by md4866
         
        Started by mjbatts91, Yesterday, 04:48 PM
        2 responses
        23 views
        0 likes
        Last Post mjbatts91  
        Started by pibrew, Today, 06:10 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by actualfacts.2021, 07-25-2021, 03:11 PM
        8 responses
        1,184 views
        0 likes
        Last Post linkcou
        by linkcou
         
        Working...
        X