Closed fgrosswig closed 3 years ago
Hi @fgrosswig, not sure if you still need a solution, but after some trial and error, and consulting the docs, basically how I went around it is I by entering:
docker-compose run freqtrade hyperopt --enable-protections --strategy [your strategy name] --hyperopt-loss SharpeHyperOptLoss -i 5m -e 500
You can interchange the loss parameter as well as i - interval of time and e - epoch number or in other words, the number of random attempts it's gonna make. I'm just a beginner so my explanations might lack detail but I hope my solution helps you!
Also, about the inability to use new-hyperopt
.
I had the same issue and what I did is I just went into the folder via VS Code and created a new file named BBRSIHyperopt.py and then worked with it from there.
I solved it by creating from sample file and so right now it's working
Thx fir your reply
Also, about the inability to use
new-hyperopt
. I had the same issue and what I did is I just went into the folder via VS Code and created a new file named BBRSIHyperopt.py and then worked with it from there.
any specifics on how this was resolved. Stuck in this step trying to sort this out. TIA
Hi, do you have any ideas how to solve this? i havent found any useful insights at freqtrade.io - Thx 👍
docker-compose run --rm freqtrade new-hyperopt --hyperopt BBRSIHyperopt
docker-compose run --rm freqtrade hyperopt --hyperopt BBRSIHyperopt --hyperopt-loss SharpeHyperOptLoss --strategy BBRSIOptimizedStrategy -i 15m
results into
freqtrade - ERROR - Using separate Hyperopt files has been removed in 2021.9. Please convert your existing Hyperopt file to the new Hyperoptable strategy interface
https://github.com/devbootstrap/optimize-trading-strategy-using-freqtrade/blob/0380de1708b923957cfa1b2050e6008c8f602096/ft_userdata/user_data/hyperopts/BBRSIHyperopt.py#L12