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

Unable to ingest AlphaVantage API Data #198

Open
earlcharles1 opened this issue May 29, 2021 · 2 comments
Open

Unable to ingest AlphaVantage API Data #198

earlcharles1 opened this issue May 29, 2021 · 2 comments

Comments

@earlcharles1
Copy link

The documentation only supplies instructions for ingesting data with Alpaca's API. I have followed all of the instructions, but I'm faced with a TypeError: an integer is required (got type bytes). Do any of you use zipline with AlphaVantage? Or should I just go to Alpaca?

Code: \src>python zipline-trader/zipline/data/bundles/alpha_vantage_api.py

Error:

File "c:......\src\zipline-trader\zipline\utils\preprocess.py", line 246, in _build_preprocessed_function

new_func.code = CodeType(*map(getitem(args), _code_argorder))

TypeError: an integer is required (got type bytes)

@EdoFoco
Copy link

EdoFoco commented Jul 25, 2021

I get this error also using Alpaca. Any help would be really appreciated.

@Praying
Copy link

Praying commented Jan 23, 2022

I also want to know how to fix this problems

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

3 participants