Giter VIP home page Giter VIP logo

Comments (5)

denvers avatar denvers commented on May 25, 2024

Can confirm. Only one space fails to print HyperOpting results (which space doesn't make sense), while using two or more prints HyperOpting results.

Although, I found out that it will work if you add --print-all.

Eg. freqtrade hyperopt --print-all -s MoniGoManiHyperStrategy -c ./user_data/mgm-config.json -c ./user_data/mgm-config-private.json --hyperopt-loss WinRatioAndProfitRatioLoss --spaces trailing -e 100 --timerange 20210101-20210316

Tested both the Docker and vanilla way.

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

Following ran a full 1000 epochs on a 1st HyperOpt Run (so without a mgm-config-hyperopt.json present) with in the end following message: No epochs evaluated yet, no best result., I also got the same message when interrupting in the middle of my HyperOpt:

  • --spaces sell
  • --spaces stoploss
  • --spaces trailing
  • --spaces roi

However following spaces have been confirmed working while HyperOpting a 1st Run on my end:

  • --spaces buy
  • --spaces buy sell
  • --spaces all

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

Further investigation is still needed, I'm starting to think that it might be due to how MGM initializes stuff on the 1st HyperOpt Run.
There it just uses the middle of the spaces to start out with. And that might be quite a sucky initial setup, so if all spaces (mostly the buy space) are not optimized it might lead to no results found? 🤔
My next tests will be a 2nd HyperOpt Run based on partial results (I'll only leave buy params in my mgm-config-hyperopt.json. That way the strategy should definitely buy trades again, and thus like that we maybe also will be able to hyperopt the other spaces separately again?

Example of what I mean with initializes in the middle of the spaces:
MGM-MiddleOfSearchSpaces

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

Further investigation is still needed, I'm starting to think that it might be due to how MGM initializes stuff on the 1st HyperOpt Run.
My next tests will be a 2nd HyperOpt Run based on partial results (I'll only leave buy params in my mgm-config-hyperopt.json. That way the strategy should definitely buy trades again, and thus like that we maybe also will be able to hyperopt the other spaces separately again?

There where indeed bugs with loading in separately, I got an uncommitted "bugfix" for this but still testing all the spaces for it, so far confirmed working:

  • --spaces buy
  • --spaces sell (Make sure to have HyperOpted buy parameters being loaded from mgm-config-hyperopt.json, otherwise no results are found)
  • --spaces stoploss
  • --spaces trailing
  • --spaces roi

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

All individual spaces should work again now on the development branch 🥳
Keep in mind that some results do need to be present before certain spaces will start providing valid outputs

from monigomani.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.