Skip to content

Make IResultHandler.RuntimeError stop the algorithm#9365

Open
aiSynergy37 wants to merge 1 commit intoQuantConnect:masterfrom
aiSynergy37:fix-9273-runtimeerror-sets-algorithm-status
Open

Make IResultHandler.RuntimeError stop the algorithm#9365
aiSynergy37 wants to merge 1 commit intoQuantConnect:masterfrom
aiSynergy37:fix-9273-runtimeerror-sets-algorithm-status

Conversation

@aiSynergy37
Copy link
Copy Markdown

Summary

  • make RuntimeError() transition the algorithm status to RuntimeError through BaseResultsHandler.SetAlgorithmState
  • add a regression test proving SetAlgorithmState marks the algorithm status as runtime error
  • keep the data filter "assume pass" path non-fatal by switching it from RuntimeError to ErrorMessage

Testing

  • unable to run local tests in this environment because dotnet is not installed

Closes #9273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The IResultHandler.RuntimeError doesn't stop the algorithm

2 participants