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:	82
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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    71 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    143 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    76 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    47 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X