Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error handling from strategy in live trading

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

    Error handling from strategy in live trading

    I created an automated trading strategy with strategy builder. Now during market replay backtesting the strategy stops and gives attached error message. What settings do I have to choose in strategy properties to close the position that triggered the error but keep the strategy running, so that it takes the next trade? Click image for larger version

Name:	Screenshot 2023-04-16 001514.png
Views:	167
Size:	6.5 KB
ID:	1246624Click image for larger version

Name:	Screenshot 2023-04-16 001450.png
Views:	138
Size:	6.3 KB
ID:	1246625Click image for larger version

Name:	Screenshot 2023-04-16 001543.png
Views:	123
Size:	5.2 KB
ID:	1246626

    #2
    Hello, thanks for writing in. You can set RealtimeErrorHandling to RealtimeErrorHandling.IgnoreAllErrors and the error will be ignored and the strategy will keep running, although these windows will still pop up if the error occurs.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X