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

Minimum data to feed

  • Hi,

    While using Backtrader on some illiquid assets I run on errors that i think relate to the fact that with illiquid assets that do not trade frequently the daily bars feeded are not complete. so what is the minimum nbr of bars i should feed and how to avoid running into errors when data could not be computed on all the period? Also regarding benchmark observer should the data be available for all the bars in order that the observer works?


Log in to reply