Giter Site home page Giter Site logo

Comments (5)

xmatthias avatar xmatthias commented on June 8, 2024

what you're missing is the actual commands you used for both backtesting and hyperopt.

from freqtrade.

luca-palese avatar luca-palese commented on June 8, 2024

Right!
docker compose run --rm freqtrade hyperopt --hyperopt-loss OnlyProfitHyperOptLoss --strategy FAdxSmaStrategy --config user_data/config.json -e 400 --timerange 20210101-20230101

docker compose run --rm freqtrade backtesting --config user_data/config.json --strategy FAdxSmaStrategy --timerange 20210101-20240301

from freqtrade.

xmatthias avatar xmatthias commented on June 8, 2024

Well your "problem" is the careless / wrong usage of parameter.value.

You can't use .value in populate_indicators() (unless you specify --analyze-per-epoch - which will make backtesting significantly slower). This method is only called once by default - so no changes to it's values will be actually used.

if memory constraints allow - it's instead recommended to create all parameters upfront (e.g. 'ATR_{val}') to then be used as part of the other populate_*_trend() methods - as described in the optimizing indicator parameters documentation section.

If memory doesn't allow (e.g. if your space is too big - you can keep your strategy as is - but you MUST use --analyze-per-epoch - which will call populate_indicators() for every epoch (this is described on the same section in the "performance tip").

from freqtrade.

luca-palese avatar luca-palese commented on June 8, 2024

I will read those, thanks man XD.

from freqtrade.

xmatthias avatar xmatthias commented on June 8, 2024

Essentially, you either use <parameter>.range: ... in your populate_indicators() - or you use --analyze-per-epoch - so you can keep using .value in populate_indicators().

from freqtrade.

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.