Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Saikee Wong
    3. Best
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 9
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by Saikee Wong

    • Only 2 decimal places precision in stock trading backtest ?

      If my understanding is correct, seems the backtrader round the data to 2 decimal place. which may be OK for US stocks. But HK stocks has 3 decimal places.

      Also, in yahoo data, after split, the historical data is adjusted which could result in may decimal place. Rounding to 2 decimals results in wrong backtest result.

      Am I right ?

      posted in General Discussion
      S
      Saikee Wong
    • 1 / 1