Comments (5)
what you're missing is the actual commands you used for both backtesting and hyperopt.
from freqtrade.
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.
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.
I will read those, thanks man XD.
from freqtrade.
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)
- TEMA200 to long? HOT 10
- Custom Telegram message from Strategy HOT 1
- ccxt >= 4.3.21 is broken HOT 1
- FreqAI: model not retraining itself. HOT 3
- ccxt.base.errors.RequestTimeout HOT 1
- `trade()`: truncate data at "current date" to avoid lookahead bias in callbacks HOT 3
- (backtesting)Sample Strategy not work for cli, but works for web server interface HOT 1
- Add Python version 3.12 in the setup file HOT 1
- support ipv6 for api_server.listen_ip_address HOT 2
- ERROR - No pair in whitelist. HOT 5
- Mutually exclusive execution of populate_entry_trend and populate_exit_trend HOT 1
- [WIP] Memory Leak when using MarketCapPairList HOT 6
- config futures trading, using spot data in the strategy,No data found for (BTC/USDT:USDT, 5m, spot) in backtesting HOT 1
- how to express the crossing of the MA5 over the MA10 twice HOT 7
- Re-asigning values to populate indicators dataframe from custom exit HOT 1
- Two strategies on one account HOT 2
- New actions for FreqAI's RL environment HOT 2
- freqtrade reports wrong time on telegram HOT 1
- Hope to support spot data indicators for futures trading @Binance HOT 10
- FreqAI installation issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freqtrade.