HOOK_FAILED
What happened
A hook of your strategy raised an error while the test ran. A hook that raises ends the run. The error is kept on the result with this code, the file, the line and the bar it happened on.
What to do
Open your file at the line the message names and fix the error in that hook.
Example
text
strategy.py, line 31, in on_bar: on_bar raised KeyError: 'atr' [HOOK_FAILED]The wording of the message depends on your file, and the code does not.