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

Unmanaged: OverFill

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

    Unmanaged: OverFill

    Simple question:

    If I set IgnoreOverFill = false; what will NT do when this occurs ?

    - Will NT allow the script to continue and later the script itself will take care of balancing the Strategy Positions?

    - Will NT or the Script crash, so that I should add some logic procedure in case of ?

    - Will NT handle this situation as an order when it's rejected, close all, cancel all...etc ?

    Ideas, suggestions ?

    #2
    IgnoreOverFill = false is the default behavior of a scrit

    If you run into an overfill scenario, the script will disable and attempt to close any positions and cancel all orders.

    If you're looking to add your own logic in the case of an overfill, you'll want to use IgnoreOverFill to true. At that point the strategy will still run, however there will be no internal attempts to manage your orders/positions. You will need to program your own order handling rules to deal with this scenario in the manner you wish.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kevinenergy, 02-17-2023, 12:42 PM
    118 responses
    2,778 views
    1 like
    Last Post kevinenergy  
    Started by briansaul, Today, 05:31 AM
    0 responses
    9 views
    0 likes
    Last Post briansaul  
    Started by traderqz, Yesterday, 12:06 AM
    11 responses
    28 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by PaulMohn, Today, 03:49 AM
    0 responses
    9 views
    0 likes
    Last Post PaulMohn  
    Started by inanazsocial, Today, 01:15 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X