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/

    What is the best way of parameter optimization?

    General Discussion
    2
    2
    59
    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.
    • Z
      zuj last edited by

      I am trying to optimize my algorithm. But after optimizing, I ended up with worse outcome than randomly selecting some parameters.
      So, I thought that I should have done something wrong in selecting the optimal value from the results of cerebro.run() but then I checked the values and the code is working exactly the way I want it to.
      I am trying to optimize based on return/Drawdown ratio and select the parameters which have the highest value of this ratio among all the optimization runs. But when I checked I found that it was a global maxima =11.0 and around it were values like 1.1, 0.2, 1.4, 6.5(this was just before 11.0) and mostly values around 1. So, I am thinking that this is not actual the optimal value; just a fluke of numbers.
      So, my question is, how do I find optimal values among these hundreds of ratios?

      1 Reply Last reply Reply Quote 0
      • J
        JessyWhite last edited by

        Do you have to write an essay? Order it from https://collegepaperwritingservice.net. This service is a one-stop-solution for college students.

        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(); }); }