Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with undefined pta #120

Closed
GoshaGrek opened this issue Sep 13, 2021 · 3 comments
Closed

problem with undefined pta #120

GoshaGrek opened this issue Sep 13, 2021 · 3 comments

Comments

@GoshaGrek
Copy link

GoshaGrek commented Sep 13, 2021

hi everybody
got a problem with undefined pta
using docker, installed and reinstalled already

13 00:30:29,328 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error name 'pta' is not defined calling <bound method IStrategy._analyze_ticker_internal of <NostalgiaForInfinityNext.NostalgiaForInfinityNext object at 0x7f6aac671af0>>

freqtrade | Traceback (most recent call last):

freqtrade | File "/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 17, in wrapper

freqtrade | return f(*args, **kwargs)

freqtrade | File "/freqtrade/freqtrade/strategy/interface.py", line 454, in _analyze_ticker_internal

freqtrade | dataframe = self.analyze_ticker(dataframe, metadata)

freqtrade | File "/freqtrade/freqtrade/strategy/interface.py", line 433, in analyze_ticker

freqtrade | dataframe = self.advise_indicators(dataframe, metadata)

freqtrade | File "/freqtrade/freqtrade/strategy/interface.py", line 798, in advise_indicators

freqtrade | return self.populate_indicators(dataframe, metadata)

freqtrade | File "/freqtrade/user_data/strategies/NostalgiaForInfinityNext.py", line 4552, in populate_indicators

freqtrade | informative_1h = self.informative_1h_indicators(dataframe, metadata)

freqtrade | File "/freqtrade/user_data/strategies/NostalgiaForInfinityNext.py", line 4179, in informative_1h_indicators

freqtrade | informative_1h['cti'] = pta.cti(informative_1h["close"], length=20)

freqtrade | NameError: name 'pta' is not defined

freqtrade | 2021-09-13 00:30:29,330 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair XLM/USDT: name 'pta' is not defined

freqtrade | 2021-09-13 00:30:29,352 - freqtrade.strategy.interface - WARNING - Empty candle (OHLCV) data for pair XRP/USDT

freqtrade | 2021-09-13 00:30:29,361 - freqtrade.strategy.interface - WARNING - Empty candle (OHLCV) data for pair RVN/USDT

freqtrade | 2021-09-13 00:30:29,368 - freqtrade.strategy.interface - WARNING - Empty candle (OHLCV) data for pair XLM/USDT

Hope you have any ideas
pandas_ta, pandas-ta already installed

@eSeR1805
Copy link
Collaborator

So how are we to debug this? How exactly did you install pandas? Obviously that's still the issue here

@GoshaGrek
Copy link
Author

image
this way

@eSeR1805
Copy link
Collaborator

Not a user myself but looks like this needs to be done through Docker specific config:
https://github.com/iterativv/NostalgiaForInfinity/wiki/Preliminary-Setup#nfi-deployment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants