mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 04:32:47 +08:00
d7d2214756
This format is intended for storing data for all sids of an asset type, e.g. equities or futures for a session. bcolz is not used to avoid the overhead of creating the directories and files for each asset (which numbers around ~8000 for active equities) can be removed since the update is meant to be read at once, instead of supporting the random access pattern needed by the simulation. This patch only adds the reader/writer pair, with the management of finding the paths to delta files and the application of the updates to the bcolz write left to internal loader code. Also, the update reader interface is intentionally constrained to the data for an entire session to allow for an implementation that allows for mid-session updates.
74 lines
1.2 KiB
Plaintext
74 lines
1.2 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==2016.4
|
|
numpy==1.11.1
|
|
|
|
# scipy and pandas are required for statsmodels,
|
|
# statsmodels in turn is required for some pandas packages
|
|
scipy==0.17.1
|
|
pandas==0.18.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 asset db management
|
|
alembic==0.7.7
|
|
|
|
# for intervaltree
|
|
sortedcontainers==1.4.4
|
|
intervaltree==2.1.0
|
|
|
|
# for caching
|
|
lru-dict==1.1.4
|
|
|
|
# For financial risk calculations
|
|
empyrical==0.2.1
|
|
|
|
tables==3.3.0
|