Comments (3)
your usage is wrong - which is causing the error.
EMAPriceCrossoverWithThreshold.py
is not a valid python class name - but is a filename.
Best read the documentation if it's unclear how to use this.
Regarding your question about ta:
Freqtrade does install some technical indicator librararies as dependencies (pandas-ta, ta-lib, technical).
It will however not (and also won't attempt to) install all possible libraries strategies (or also strategy samples provided in this repository).
It's the user's responsability to ensure the dependencies are installed (you can usually install it with pip install <yourlibrary>
). Often, strategies will also provide a hint about this.
EMAPriceCrossoverWithThreshold.py
(or the actual strategy name, EMAPriceCrossoverWithThreshold
) is however not a strategy provided here - therefore we also can't provide guidance as to what is ACTUALLY needed.
from freqtrade-strategies.
Thanks for helping Mathias. It's still not working. Can you recommend another strategy i can try?
i still get the same error:
freqtrade | 2023-03-24 06:18:48,584 - freqtrade.strategy.hyper - INFO - Found no parameter file.
freqtrade | 2023-03-24 06:18:48,585 - freqtrade.commands.trade_commands - ERROR - populate_entry_trend
must be implemented.
freqtrade | 2023-03-24 06:18:48,585 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/commands/trade_commands.py", line 24, in start_trading
freqtrade | worker = Worker(args)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 37, in init
freqtrade | self._init(False)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 53, in _init
freqtrade | self.freqtrade = FreqtradeBot(self._config)
freqtrade | File "/freqtrade/freqtrade/freqtradebot.py", line 63, in init
freqtrade | self.strategy: IStrategy = StrategyResolver.load_strategy(self.config)
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 48, in load_strategy
freqtrade | strategy: IStrategy = StrategyResolver._load_strategy(
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 272, in _load_strategy
freqtrade | return StrategyResolver.validate_strategy(strategy)
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 172, in validate_strategy
freqtrade | raise OperationalException("populate_entry_trend
must be implemented.")
freqtrade | freqtrade.exceptions.OperationalException: populate_entry_trend
must be implemented.
freqtrade exited with code 0
freqtrade | 2023-03-24 06:18:53,098 - freqtrade - INFO - freqtrade 2023.2
freqtrade | 2023-03-24 06:18:53,323 - freqtrade.worker - INFO - Starting worker 2023.2
freqtrade | 2023-03-24 06:18:53,323 - freqtrade.configuration.load_config - INFO - Using config: /freqtrade/user_data/config.json ...
freqtrade | 2023-03-24 06:18:53,325 - freqtrade.loggers - INFO - Verbosity set to 0
freqtrade | 2023-03-24 06:18:53,325 - freqtrade.configuration.configuration - INFO - Runmode set to live.
freqtrade | 2023-03-24 06:18:53,326 - freqtrade.configuration.configuration - INFO - Parameter --db-url detected ...
freqtrade | 2023-03-24 06:18:53,326 - freqtrade.configuration.configuration - INFO - Dry run is disabled
freqtrade | 2023-03-24 06:18:53,326 - freqtrade.configuration.configuration - INFO - Using DB: "sqlite:////freqtrade/user_data/tradesv3.sqlite"
freqtrade | 2023-03-24 06:18:53,326 - freqtrade.configuration.configuration - INFO - Using max_open_trades: 5 ...
freqtrade | 2023-03-24 06:18:53,337 - freqtrade.configuration.configuration - INFO - Using user-data directory: /freqtrade/user_data ...
freqtrade | 2023-03-24 06:18:53,337 - freqtrade.configuration.configuration - INFO - Using data directory: /freqtrade/user_data/data/binance ...
freqtrade | 2023-03-24 06:18:53,338 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
freqtrade | 2023-03-24 06:18:53,354 - freqtrade.exchange.check_exchange - INFO - Exchange "binance" is officially supported by the Freqtrade development team.
freqtrade | 2023-03-24 06:18:53,354 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
freqtrade | 2023-03-24 06:18:53,375 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy EMAPriceCrossoverWithThreshold from '/freqtrade/user_data/strategies/EMAPriceCrossoverWithThreshold.py'...
freqtrade | 2023-03-24 06:18:53,375 - freqtrade.strategy.hyper - INFO - Found no parameter file.
freqtrade | 2023-03-24 06:18:53,376 - freqtrade.commands.trade_commands - ERROR - populate_entry_trend
must be implemented.
freqtrade | 2023-03-24 06:18:53,376 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
freqtrade | Traceback (most recent call last):
freqtrade | File "/freqtrade/freqtrade/commands/trade_commands.py", line 24, in start_trading
freqtrade | worker = Worker(args)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 37, in init
freqtrade | self._init(False)
freqtrade | File "/freqtrade/freqtrade/worker.py", line 53, in _init
freqtrade | self.freqtrade = FreqtradeBot(self._config)
freqtrade | File "/freqtrade/freqtrade/freqtradebot.py", line 63, in init
freqtrade | self.strategy: IStrategy = StrategyResolver.load_strategy(self.config)
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 48, in load_strategy
freqtrade | strategy: IStrategy = StrategyResolver._load_strategy(
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 272, in _load_strategy
freqtrade | return StrategyResolver.validate_strategy(strategy)
freqtrade | File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 172, in validate_strategy
freqtrade | raise OperationalException("populate_entry_trend
must be implemented.")
freqtrade | freqtrade.exceptions.OperationalException: populate_entry_trend
must be implemented.
freqtrade exited with code 0
from freqtrade-strategies.
Strategies in this repository should normally load just fine.
Your strategy seems to either use an old interface with new functionalities (namely, using short) - or is not properly implementing the interface.
from freqtrade-strategies.
Related Issues (20)
- GodStra strat can't find ta module HOT 3
- How to get funding rate to use as indicator on freqtrade HOT 8
- Volatility Strategy HOT 2
- Lookahead for Strategy002 and 004 HOT 5
- cannot use the timeframe i want HOT 4
- GodStra not results available HOT 1
- GodStraHo: Impossible to load Strategy 'GodStraHo'. This class does not exist or contains Python code errors.
- GodStraHo: Impossible to load Strategy 'GodStraHo'. This class does not exist or contains Python code errors. #294 HOT 3
- Unable to retrieve candlestick information from dataframe HOT 1
- BB_RSI_ATR HOT 5
- Momentum Strategy HOT 4
- No module named 'ta' HOT 1
- incorrect times displayed in FreqUI HOT 4
- AlphaTrend Strategy HOT 3
- Error using MACD indicator from qtpylib indicators.py
- WARNING - Unable to analyze candle (OHLCV) data for pair {pair}: Dataframe returned from strategy has mismatching last close price. HOT 2
- finta problem HOT 2
- supertrend different timeframe
- strategy won't work with live trading in binance futures HOT 1
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-strategies.