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

Does your backtesting match your live trades?

  • This is sort of an offshoot of the "off-by-1" thread:

    If you are using backtrader to trade live, are your backtests matching your live trades? For me, possibly due to the off-by-1 issue, they are not matching which is very painful to see as backtests make lots of profit. Live trades? Not so much.

Log in to reply