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

bollinger_mavg Error #9

Closed
CruelPlanet opened this issue Jan 14, 2020 · 1 comment
Closed

bollinger_mavg Error #9

CruelPlanet opened this issue Jan 14, 2020 · 1 comment

Comments

@CruelPlanet
Copy link

Has anyone else been getting this error as of a few days ago? I modified the program slightly to run continuously but even redownloading it and not changing any of the code seems to generate this error now and I was hoping someone else has encountered this and knows a fix.

Traceback (most recent call last):
File "C:\Users\johnz\Downloads\RobinhoodBot-master\RobinhoodBot-master\robinhoodbot\main.py", line 258, in
scan_stocks()
File "C:\Users\johnz\Downloads\RobinhoodBot-master\RobinhoodBot-master\robinhoodbot\main.py", line 248, in scan_stocks
cross = golden_cross(symbol, n1=50, n2=200, days=10, direction="above")
File "C:\Users\johnz\Downloads\RobinhoodBot-master\RobinhoodBot-master\robinhoodbot\main.py", line 170, in golden_cross
sma1 = bollinger_mavg(price, n=int(n1), fillna=False)
NameError: name 'bollinger_mavg' is not defined

@CruelPlanet
Copy link
Author

Never mind I'm an idiot as soon as I posted this I noticed someone else had the same error and it was already solved.

@2018kguo 2018kguo reopened this Jan 25, 2020
@2018kguo 2018kguo closed this as completed Aug 4, 2020
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