Comments (3)
reinstall ta-lib with the latest numpy. This has nothing to do with ta
.
from freqtrade-strategies.
ta
is not ta-lib
(which imports as talib
) - but it's the ta library.
That's a dependency freqtrade does not depend on - so it's up to the user to make sure to install it if he want's to use it.
from freqtrade-strategies.
I installed it and unless I'm mistaken it has a compatibility issue which would make all the strats that use it currently unusable ... I've included the error log.
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: 2022-12-04 08:45:40,457 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: Traceback (most recent call last):
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/commands/trade_commands.py", line 18, in start_trading
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: worker = Worker(args)
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/worker.py", line 37, in __init__
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: self._init(False)
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/worker.py", line 53, in _init
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: self.freqtrade = FreqtradeBot(self._config)
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/freqtradebot.py", line 62, in __init__
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: self.strategy: IStrategy = StrategyResolver.load_strategy(self.config)
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 48, in load_strategy
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: strategy: IStrategy = StrategyResolver._load_strategy(
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 256, in _load_strategy
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: strategy = StrategyResolver._load_object(
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/resolvers/iresolver.py", line 148, in _load_object
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: (module, module_path) = cls._search_object(directory=_path,
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/resolvers/iresolver.py", line 130, in _search_object
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: obj = next(cls._get_valid_object(module_path, object_name), None)
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/freqtrade/resolvers/iresolver.py", line 91, in _get_valid_object
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: spec.loader.exec_module(module) # type: ignore # importlib does not use typehints
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "<frozen importlib._bootstrap_external>", line 883, in exec_module
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/user_data/strategies/Strategy005.py", line 9, in <module>
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: import talib.abstract as ta
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "/home/ubuntu/freqtrade/.env/lib/python3.10/site-packages/talib/__init__.py", line 93, in <module>
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: from ._ta_lib import (
Dec 4 08:45:40 instance-20221009-1127 freqtrade.configuration.configuration - INFO - Dry run is enabled
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: File "talib/_ta_lib.pyx", line 1, in init talib._ta_lib
Dec 4 08:45:40 instance-20221009-1127 freqtrade_a[281309]: ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject ```
from freqtrade-strategies.
Related Issues (20)
- External Signal provider 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
- ta not installing on Google cloud instance and all futures strategies are not working HOT 3
- 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
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.