Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Unrealistic backtesting return

    General Code/Help
    2
    2
    65
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • woung717
      woung717 last edited by

      First of all, thank you for open this amazing backtest platform for free.

      I've have made several quant strategies using bt.
      Sometimes I think backtesting result(return) is quite higher than what I expected.
      Even when I implement a strategy wrong, it makes profits.
      Usually, I rebalance 2 or 3 times annually and use momentum and volatility(1 / STDDEV of ROCP) to filtering or ranking.

      I think there are errors in my data or it's just an equal-weighted portfolio effect.

      Is there any way to audit the result except comparing it with the benchmark index?

      Thank you :)

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators last edited by

        @woung717 said in Unrealistic backtesting return:

        Is there any way to audit the result except comparing it with the benchmark index?

        If you believe that there are errors in your data, the only way is to go through the data. Any other kind of audit requires that you give people some hints about why things are unrealistic.

        Yes, you can use the SharpeRatio analyzer to have another performance indicator (or the VWR which is consistent across timeframes), but if there is an error in your code it is not going to make it show up. It will simply give you a number which you can compare with the standard expectations of people who use it.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
        $(document).ready(function () { app.coldLoad(); }); }