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

AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'? #38

Open
milandijhon opened this issue Apr 10, 2023 · 6 comments

Comments

@milandijhon
Copy link

getting the following error: Traceback (most recent call last):
File "C:\Users\Administrator\GitHub\FXBot-main\FXBot-main\main.py", line 143, in
trader = BollingerBandsLive(cfg, instrument, granularity, sma, deviation, units, stop_loss=stop_loss,
File "C:\Users\Administrator\GitHub\FXBot-main\FXBot-main\livetrading\BollingerBandsLive.py", line 37, in init
super().init(
File "C:\Users\Administrator\GitHub\FXBot-main\FXBot-main\livetrading\LiveTrader.py", line 77, in init
self.stream_data(self._instrument)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\tpqoa\tpqoa.py", line 357, in stream_data
self.on_success(msg.time,
File "C:\Users\Administrator\GitHub\FXBot-main\FXBot-main\livetrading\LiveTrader.py", line 181, in on_success
self._tick_data = self._tick_data.append(df)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\pandas\core\generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

@Fishball99
Copy link

I have the same problem, waiting for the answer

@trentstauff
Copy link
Owner

Hi there- I will look into this!

Trent

@Fishball99
Copy link

I think this error comes from the most recent update of pandas so that there may be some incompatible problems. I have rolled back the pandas to previous version, then it goes well.

@milandijhon
Copy link
Author

milandijhon commented Apr 20, 2023 via email

@trentstauff
Copy link
Owner

Hi everyone. I am currently without my windows development machine for a few weeks. Once I return I plan on ironing out these bugs.

I apologize for the inconvenience!

@Terence-Wong
Copy link

It's been many months! when will you fix this?! thinking about un-starring...

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

4 participants