For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Testing same strategy against multiple time ranges

  • Hello, I'm trying to run my strategy over 5 or 6 different time ranges but so far I'm not sure I'm overcomplicating it so far I'm running one time range per time, writing it to a file every run, and keep going until finish all time ranges then compare all the files and see the best options for my algo itself. I'm not sure if it could be replaced by an Analyzer or PyFolio and make this process easier/faster.

  • administrators

    No, it cannot be for sure be replaced by an Analyzer. Different time ranges imply different starting conditions (start of trading).