-
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
Data source that uses a local hdf5 file #110
Comments
+1 i would like to be able to cache quotes retrieved from yahoo (or other sources) instead of fetching with every run of the algorithm. along with hdf5 support I would also like to see load_from_yahoo take an existing DataFrame and be able to add stocks to it. also, i'm not really familiar with DataFrame yet, but I wonder if storing every stock in the same DataFrame or h5f5 file is the best way to go. if the data sets grow very large (e.g. a thousand stocks with per-second quotes) will this become difficult to deal with? does a DataFrame need to fit into memory? |
@benmccann, I agree, caching the Yahoo data would be a great improvement. Would the existing DataFrame you would like to pass to A DataFrame does need to fit into memory. |
my thought with passing a DataFrame to load_from_yahoo was that if i loaded 10 securities into a DataFrame by calling load_from_yahoo and then wanted to add another 10 to my dataset there's no real way to do that right now |
something like this works with each node being a date in iso format |
Michael: Apologies for the delay in follow up.
MichaelRB notifications@github.com writes:
|
Sorry about that. This should work |
Here's a pull request to fix this. I had a to throw something together for a friend so I figured I would contribute this back. |
@ehebert has this been addressed? |
It has not, but we could make a wrapper for With incoming changes on lazy-mainline branch the backtest data (not just pipeline) will be sourced from files created by |
I think we have settled on bcolz as the internal format for zipline. With the new data bundle changes we also support the case of caching yahoo data instead of downloading on each run. |
Analogous to #108, provide a wrapper for using a local hdf5 file(s) as a data source.
The text was updated successfully, but these errors were encountered: