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 jjs12, Today, 10:29 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by lakman184, 03-24-2024, 01:30 PM
    5 responses
    28 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by thumper57, 05-11-2024, 04:30 PM
    16 responses
    44 views
    0 likes
    Last Post thumper57  
    Started by Salahinho99, 05-05-2024, 04:13 AM
    10 responses
    71 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by lorem, 04-25-2024, 09:18 AM
    13 responses
    56 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X