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

How does NJ handles unfilled contracts by default?

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

    How does NJ handles unfilled contracts by default?

    Hi!

    Right now I have NOT tested my current strategy
    to handle multiple contracts.

    My I ask how should any strategy that you have written
    for you own clients handles this?

    For example, if at price 8301, only 2 out of 5 contracts filled,
    HOW will those 3 unfilled contracts be managed?

    My expected result is any unfilled contracts will continue
    to get filled ONLY IF the trade has NOT reached TP or SL.

    >J

    #2
    ninjaq,

    The orders will continue to be filled as long as that entry order is still active. Even if stop/targets start hitting, if that entry order is still active it will continue. You need to explicitly cancel that entry order (whether that is using CancelOrder() or just letting the order expire by not resubmitting) for it to stop filling.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by agclub, 04-21-2024, 08:57 PM
    5 responses
    32 views
    0 likes
    Last Post agclub
    by agclub
     
    Started by ESHunter, Today, 08:06 PM
    2 responses
    16 views
    0 likes
    Last Post ESHunter  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    19 responses
    150 views
    0 likes
    Last Post ETFVoyageur  
    Started by ETFVoyageur, Yesterday, 10:13 PM
    3 responses
    26 views
    0 likes
    Last Post ETFVoyageur  
    Started by ETFVoyageur, Yesterday, 12:52 AM
    3 responses
    33 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X