Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Complex Execution Scenario Understanding

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

    Complex Execution Scenario Understanding

    Hi All,

    Because for execution everything needs to be crystal clear I want to see if I understood the NT tutorial correctly.
    My strategy scenario is as follow:
    1. Set the strategy to PerEntryExecution.
    2. In Intilaize() I have SetProfitTarget() and SetStopLoss().
    2. EnterLongLimit(10, Bars.CurrentBid) with no unique signal name.
    3. There is a partial fill for 5 contracts and then another 5 contracts in 2 separate fills.
    4. Then I have a condition that set an ExitLong() with no quantity.

    My questions are:
    A. Does in stage 4 ExitLong() the 10 contracts are sold?
    B. Does the orders from stage 2 are removed by NT.
    C. If I only got filled for 5 contracts does the stage 4 close 5 contracts? What happen to the other 5 contracts that didn't filled? Can I close them manually? if yes how?

    Hope I made myself clear and thanks in advance for your time.
    Happy Xmas
    Freewind

    #2
    Freewind, happy holidays to you, too - yes ExitLong() tied to no specific name would close out the entire long position, yes if the position is closed the exit bracket provided via the Set's is cancelled. Yes, if you're position size is only 5 due to a partial fill it would ExitLong() this size then. Per default the limit order is only valid for the bar it was submitted on, if you would like it to persist working either resubmit or use the advanced overload offering you to submit with the liveUntilCancelled property set to 'true'.

    Comment


      #3
      Thanks Bertrand, I fully understand.
      This is great execution design by NT!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X