-
Notifications
You must be signed in to change notification settings - Fork 220
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
from ta import macd ImportError: cannot import name 'macd' #13
Comments
PravinrajV
changed the title
pravinraj_vincent@alpaca-uirobots:~$ python3 algo.py Traceback (most recent call last): File "algo.py", line 4, in <module> from ta import macd ImportError: cannot import name 'macd'
from ta import macd ImportError: cannot import name 'macd'
Mar 11, 2020
You can fix that by downgrading your
|
Thank you. I will try this.
Regards,
Pravinraj Vincent
…________________________________
From: Calvin Wang <[email protected]>
Sent: Thursday, March 12, 2020 1:03:54 AM
To: alpacahq/Momentum-Trading-Example <[email protected]>
Cc: Pravinraj Vincent <[email protected]>; Author <[email protected]>
Subject: Re: [alpacahq/Momentum-Trading-Example] from ta import macd ImportError: cannot import name 'macd' (#13)
You can fix that by downgrading your ta package to the time when they published this demo. The following should work for you:
pip uninstall ta
pip install ta==0.4.5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHQ6NVIYSYANRABKIJVZYQ3RHBULVANCNFSM4LFMUDOA>.
|
the macd trend indicator has been moved to ta.trend class
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I followed the instructions and I get the below error when running the algo.py:
The text was updated successfully, but these errors were encountered: