-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Calendar hardcoded to US stock market #2434
Comments
@ssanderson @freddiev4 any feedback? |
what you have made to get it work? @willianpaixao |
Instead of setting an exchange of I think the code changes needed to make this work are:
|
@llllllllll Thanks very much. It works. |
Fix quantopian#2434 Pending testing. Still work in progress.
@llllllllll I've followed your suggestion then tested #2674 locally and it works. |
Hi fellow maintainers,
I've been trying to ingest non-USA CSV bundles with Zipline, but it proved much harder than I calculated.
Turns out that there are some hardcoded variables that bind the process to only NYSE and UTC data.
Follow some lines I had to change in order to have a successful (without crashes) bundle ingestion:
zipline/zipline/data/bundles/csvdir.py
Line 161 in 05a6080
zipline/zipline/data/bundles/csvdir.py
Line 227 in 05a6080
When I tried to fix the values, I've got an error here:
It looked weird but I didn't have time to follow up and debug it.
My current state is simply change the hardcoded values from 'NYSE' to 'BVMF' and it works.
Any suggestions on how to fix it for the long term?
The text was updated successfully, but these errors were encountered: