-
Notifications
You must be signed in to change notification settings - Fork 71
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
create alpha-vantage data-bundle #155
Conversation
161a568
to
3f0a173
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first review :)
767ceb4
to
745902b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review#2
first usage review 👍
|
||
|
||
if __name__ == '__main__': | ||
from zipline.data.bundles import register |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import shouldn't be here. all should be on the top part of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when i put it to the top it fails, don't know why. you're using it like this in the alpaca-bundle, do you remember why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only import modules in the __main__
if it's not used when called from another file. e.g I want to test something but when used in production not called. in our case, we do use the main part to do ingestion in "production" but not only (the module is loaded by __init__
of bundles.
I will take a look at the failure and let you know
cadcb4e
to
1539367
Compare
bef5dc3
to
596d26f
Compare
b284d3a
to
02172f8
Compare
02172f8
to
20b5755
Compare
closing this as it's aleady included in the postgres-part |
No description provided.