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

Help with running the app #1

Open
nithinrajendran opened this issue Jul 3, 2019 · 1 comment
Open

Help with running the app #1

nithinrajendran opened this issue Jul 3, 2019 · 1 comment

Comments

@nithinrajendran
Copy link

Hi Dave,
Love your dashboard.
I'm trying to run it in my machine. Disclosure: I'm unfamiliar with node.js and flask.
I'm unable to get data from iex.
The ticker and search works, but get_historical_data returns a iexqueryexceeption error.
I don't know where in the app I need to mention my api token.
I'd really appreciate any help.
Thanks
-Nithin

@davesearle
Copy link
Owner

Hi Nithin, glad you like it and find some use for it!

Looking at the iexfinance docs, it looks like an API key is now required to access the IEX Cloud API:
https://pypi.org/project/iexfinance/

Once you have the token, you just need to append this onto the iex function calls, eg:
get_historical_data(symbol, start, end, output_format='pandas', token="<YOUR AUTH TOKEN>")

I'll take a look at the changes IEX have made and see if i can update the repo soon

cheers
dave

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