mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 04:11:15 +08:00
59c8e371a2
Adds the data bundle concept which makes it easy for users to register loading functions to build out minute and daily data along with an assets db and adjustments db. By default we have provided a `quandl` bundle which pulls from the public domain WIKI dataset. Users may register new bundles by decorating an ingest function with `zipline.data.bundles.register(<name>)`. This also provides a `yahoo_equities` function for creating an ingestion function that will load a static set of assets from yahoo. The cli is now structured as a couple of subcommands and has been changed to `python -m zipline`. The old behavior of `run_algo.py` has been moved to the `run` subcommand. This is almost entirely the same except that it now takes the name of the data bundle to use, defaulting to `quandl`. The next subcommand is `ingest` which takes the name of a data bundle to ingest. This will run the loading machinery and write the data to a specified location that `run` can find. There is also a `clean` subcommand which deletes the data that was written with `ingest`. Extensions have also been added to zipline. This is an experimental feature where users can provide an extra set of python files to run at the start of the process. These can be used to configure aspects of zipline. Right now the only thing that is supported in an extension file is the registration of a new data bundle.
65 lines
1.1 KiB
Plaintext
65 lines
1.1 KiB
Plaintext
# Incompatible with earlier PIP versions
|
|
pip>=7.1.0
|
|
# bcolz fails to install if this is not in the build_requires.
|
|
setuptools>18.0
|
|
|
|
# Logging
|
|
Logbook==0.12.5
|
|
|
|
# Scientific Libraries
|
|
|
|
pytz==2015.4
|
|
numpy==1.9.2
|
|
|
|
# scipy and pandas are required for statsmodels,
|
|
# statsmodels in turn is required for some pandas packages
|
|
scipy==0.15.1
|
|
pandas==0.16.1
|
|
pandas-datareader==0.2.1
|
|
# Needed for parts of pandas.stats
|
|
patsy==0.4.0
|
|
statsmodels==0.6.1
|
|
|
|
python-dateutil==2.4.2
|
|
six==1.10.0
|
|
|
|
# For fetching remote data
|
|
requests==2.9.1
|
|
|
|
Cython==0.22.1
|
|
|
|
# faster OrderedDict
|
|
cyordereddict==0.2.2
|
|
|
|
# faster array ops.
|
|
bottleneck==1.0.0
|
|
|
|
contextlib2==0.4.0
|
|
|
|
# networkx requires decorator
|
|
decorator==4.0.0
|
|
# Graph algorithms used by zipline.pipeline
|
|
networkx==1.9.1
|
|
|
|
# NumericalExpression pipeline terms.
|
|
numexpr==2.4.6
|
|
|
|
# On disk storage format for pipeline data.
|
|
bcolz==0.12.1
|
|
|
|
# Command line interface helper
|
|
click==4.0.0
|
|
|
|
# FUNctional programming utilities
|
|
toolz==0.7.4
|
|
multipledispatch==0.4.8
|
|
|
|
# Asset writer and finder
|
|
sqlalchemy==1.0.8
|
|
|
|
# for intervaltree
|
|
sortedcontainers==1.4.4
|
|
intervaltree==2.1.0
|
|
|
|
cachetools==1.1.5
|