Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to simulate/test partial fill

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

    how to simulate/test partial fill

    Hello,


    Sometimes during trading I see a good occasion and I enter a position by hand via SuperDom.
    I could then have an ATM strategy attached to it, but frankly speaking the ATM strategies are much too limited and cannot reflect my position managment ideas properly.
    I could also sit in front of the PC and follow the position by hand. Very boring and why should I use NT then.

    So I am thinking of writing a normal trading strategy instead of an ATM strategy (lets call LongFollowUp) where I can codewise realise everything I want, but there is one problem:
    The position was not opened from within the strategy and Strategy Position and account position will always be out of sync.

    Basically one has to programm the Position offset into the strategy, e.g.
    the (LongFollowUp) strategy starts immediately with a EnterShortStop() to set a Stop Loss and once Strategy Position is short the strategy has finished its work. For example a function PositionsExitOnClose() cannot rely on the default behaviour and must be rewritten and one must be sure to leave the strategy with a short position in the end.

    Well, all working fine and my testing is OK, but I do not know how to properly test the strategy for partial fills and for rejected orders for example.

    Is the a possibility to configure the simulated account Sim101 in such a way that orders are partially filled or rejected?


    Andreas

    P.S.

    Someone has a better Idea how to implement a LongFollowUp strategy except for waiting for NT7 where we still don't even know the features and hope in a much improved ATM solution.
    I am happy to receive ideas!

    #2
    Tools->Options->Enforce partial fills. Check that box.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thank you

      andreas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X