Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Execution error

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

    Strategy Execution error

    I have a strategy running in simulation trading mode and encountered the execution errors as shown in the attached image below.

    Click image for larger version

Name:	ExecutionErrors.png
Views:	89
Size:	17.4 KB
ID:	1158685

    The strategy is using explicit order execution using OnExecutionUpdate() and this seemed to be working fine previously. I have switched to automatic stop/profit setting using :


    SetStopLoss(CalculationMode.Ticks,StopTicks);
    SetProfitTarget(CalculationMode.Ticks, ProfitTicks);

    However still seem to be encountering an error. Is it worth doing a reinstall of NT8?

    #2
    Hello mballagan,

    Thanks for your post.

    We were recently made aware of an erroneous risk template that was added to the platform from a database update, which is likely the cause of the error message that you are receiving. In order to correct this item, you will need to first delete the erroneous risk templates then reset the Sim101 account.

    To remove the erroneous risk template;
    • Shut down NinjaTrader
    • On your PC, navigate to Documents/NinjaTrader 8/templates/Risk
    • Delete the risk templates titled '.xml', 'KPO.xml', and 'MES.xml'
    • I've included a video demonstration that we've made publicly available at the following link:
    Once you've deleted the erroneous risk templates, please do the following;
    • Restart NinjaTrader
    • From the NinjaTrader Control Center window select the Accounts tab
    • Right click on your simulation account and select 'Edit Account'
    • Ensure that 'None' is selected for the 'Risk' property
    • Press the "Reset" button
    • Select OK

    After completing the steps above, you should now be able to place orders in the Sim101 account without error.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X