-
Notifications
You must be signed in to change notification settings - Fork 45
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
AttributeError: 'IndicatorforRL' object has no attribute 'ohlcvdata_to_dataframe' #23
Comments
so i am, 😘 i cpy/paste this code lines bit not sure it is yhe best way but it works def ohlcvdata_to_dataframe(self, data: Dict[str, DataFrame]) -> Dict[str, DataFrame]: |
@brusand @sn3fru @hugocen @i am facing same issue, can you please tell me how exactly did you solve it? it is showing me error in freqtradegym.py when I run rllib_example.py
Apreciate your help! Thanks |
The same issue. @harshadvekariya What is your tf version? Mine is 1.12 |
@pnmice |
@pnmice Edit the line no 45 in freqtradegym.py to follow Let me know if you know a better way of doing this. Thanks @brusand for the solution! |
I'm trying to use it for the first time and it's giving me this error. Do you know if anything has changed in the structure of the project?
C:\Users\marco\anaconda3\envs\rl\lib\site-packages\stable_baselines_init_.py:33: UserWarning: stable-baselines is in maintenance mode, please use Stable-Baselines3 (SB3) for an up-to-date version. You can find a migration guide in SB3 documentation.
"stable-baselines is in maintenance mode, please use Stable-Baselines3 (SB3) for an up-to-date version. You can find a migration guide in SB3 documentation."
Add {
"method": "AgeFilter",
"min_days_listed": 30
},
to your pairlists in config (Under StaticPairList)
Traceback (most recent call last):
File "deep_rl.py", line 14, in
env = TradingEnv(config)
File "C:\Users\marco\trade\freqtrade\freqtradegym.py", line 44, in init
preprocessed = self.strategy.ohlcvdata_to_dataframe(data)
AttributeError: 'IndicatorforRL' object has no attribute 'ohlcvdata_to_dataframe'
The text was updated successfully, but these errors were encountered: