Commit Graph

333 Commits

Author SHA1 Message Date
fredfortier 606148e19c DOC: Integrating with ccxt 2017-11-28 13:42:58 -05:00
Victor Grau Serrat f47b657c6f fix conda install 2017-10-30 11:57:26 -06:00
Victor Grau Serrat 7d2cf97fbf FIX: Conda install for Windows 2017-10-23 16:02:28 -06:00
Abner Ayala-Acevedo 73eca75ed9 Updated conda .yml file to work with enigma 0.3 or above.
Removed unnecessary libraries that were giving issues.
2017-10-20 14:30:06 -07:00
Victor 7f602d7fcc Update requirements.txt 2017-09-21 11:27:35 -06:00
Victor Grau Serrat 81bd2d84f0 >=0.2.dev2 for catalyst, since we're in active dev and will change periodically 2017-09-20 12:47:31 -06:00
Abner Ayala-Acevedo 06f48cf158 Update to include python-dev 2017-09-20 10:41:42 -07:00
Abner Ayala-Acevedo 05a69cfc92 Added environment.yml for simpler conda installation
Simpler conda installation by using environment.yml requirements.
`conda env create -f python2.7-environment.yml`
`Linux or Mac: source activate catalyst`
`Windows: activate catalyst`
2017-09-20 10:16:29 -07:00
fredfortier 1cfcb1d96e Initial work on bittrex implementation 2017-08-27 23:26:48 -04:00
Conner Fromknecht 2d26758fba General improvements 2017-07-01 18:26:57 -07:00
Conner Fromknecht fce97176d6 Changed zipline -> catalyst import paths
* Updated cython build scripts
 * Updated setup.py to to install catalyst package
 * Updated momentum example to use catalyst package
 * catalyst executable now supports loading pipelines from multiple bundles
2017-06-19 14:43:10 -07:00
Richard Frank 0840ea1bef DEV: Pin configparser version
It's a recent (to zipline) requirement of flake8.
2017-06-08 17:33:15 -04:00
Miguel Sánchez de León Peque a219e9910e Add missing Python 3.5 references (now supported)
Add this version to the Conda build matrix and to the setup.py file.
2017-05-23 09:39:21 +02:00
Freddie Vargus ecd86aa799 BLD: Update CI files for py35
BLD: Move setuptools_scm recipe earlier

in build process. We order alphabetically.

BLD: Update to newest Cython version

BLD: Update version of matplotlib

BLD: Pin matplotlib dependency
2017-05-16 15:33:27 -04:00
Scott Sanderson 22df0a9cb9 MAINT/STY: Upgrade flake8 and fix new failures. 2017-05-15 11:45:04 -04:00
Maya Tydykov 8faab75459 BLD: bump blaze 2017-04-03 15:20:49 -04:00
Freddie Vargus 7d276842be REL: Update stubs for 1.1.0 release 2017-03-10 17:19:57 -05:00
Richard Frank 9cb7e22db5 MAINT: Pin specific versions of blaze dependencies 2017-02-28 19:40:10 -05:00
Gus Gordon b45c52b453 Bump empyrical to 0.2.2 (#1674)
* Bump empyrical to 0.2.2

* Update example data for tests
2017-02-04 16:14:33 -05:00
Eddie Hebert d704851489 BLD: Use latest version of toolz.
Also, add requirement of cytoolz to blaze reqs so that toolz and cytoolz are
on the same version.
2017-01-13 15:42:59 -05:00
Richard Frank 70b5d675ce MAINT: Update and pin more dev requirements 2017-01-08 14:07:55 -05:00
Richard Frank 5d4783966a MAINT: Pin exact versions of Mako, MarkupSafe, requests-file
which are transitive dependencies of zipline
2017-01-07 17:57:29 -05:00
Eddie Hebert 8ef2279ee4 BLD: Update numexpr to latest to satisfy tables deps. (#1636)
* BLD: Update numexpr to latest to satisfy tables deps.

tables 3.3.0 requires numexpr >= 2.5.2

Also remove numexpr conda recipe.
2017-01-05 15:27:24 -05:00
Eddie Hebert d7d2214756 ENH: Add a reader writer pair for HDF5 minute bar updates.
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.
2017-01-04 12:09:10 -05:00
Paul Sutherland e7ca08038a DEV delete old *.c and *.so files with rebuild-cython.sh for Darwin/OSX (#1560) 2016-10-26 19:08:36 -04:00
Ana Ruelas afc4a278e6 ENH: Empyrical bump 2016-10-05 12:54:16 -04:00
Scott Sanderson 700260cc71 MAINT: Put us back on blaze master. 2016-09-21 10:46:57 -04:00
Scott Sanderson 15b5cbf21b MAINT: Bump blaze. 2016-09-20 17:12:09 -04:00
Scott Sanderson ae4efffe3e MAINT: Bump blaze. 2016-09-20 17:12:08 -04:00
Scott Sanderson 76f8eaf2d5 BLD: Downgrade to scipy 0.17.
Anaconda doesn't have windows builds for scipy 0.18 (nor does
conda-forge.)
2016-09-20 17:12:08 -04:00
Scott Sanderson 659c8ae5ee BLD: Remove old numpy/pandas versions from travis. 2016-09-20 17:12:07 -04:00
Scott Sanderson c998d619b1 MAINT: Bump numpy and pandas. 2016-09-20 16:24:54 -04:00
Richard Frank b924c3b795 PERF: Use empyrical with ndarrays instead of Series 2016-09-19 15:51:06 -04:00
Jean Bredeche eb7e1fa580 ENH: Switching from cachetools.LRUCache to lru-dict's LRU cache.
lru-dict is written in C and seems much more performant.
2016-09-16 11:03:13 -04:00
Scott Sanderson 01fb359a8c Merge pull request #1420 from quantopian/add-cython-cleanup
MAINT: Add script to clean out compiled files.
2016-09-02 14:16:18 -04:00
Scott Sanderson 1295b86248 DEV: Find .c and .so files with regex. 2016-09-02 12:56:36 -04:00
Ana Ruelas f669602581 BLD: Update to empyrical 0.1.11 2016-08-30 16:41:57 -04:00
John Ricklefs 85e68f0162 PERF: Pass known calculations into empyrical methods
For example, to prevent `alpha` from internally calling
`beta` a second time, pass the previously-calculated
`beta` value in.

Requires empyrical 0.1.10 from pypi
2016-08-29 12:13:19 -04:00
Richard Frank 317c5f07cc BLD: alembic is now a production requirement 2016-08-24 15:32:31 -04:00
Ana Ruelas 5b0ff75c8a MAINT: Update whatsnew for empyrical changes 2016-08-23 17:02:12 -04:00
Ana Ruelas f57fe0a4b0 TST: Update to empyrical, increase test coverage
ENH: Resolve rebase conflict by using updated example_data.tar

TST: Increase test coverage for risk portion of zipline
2016-08-23 13:49:43 -04:00
Ana Ruelas 57d1bb82c4 ENH: Use qrisk to calculate risk metrics in cumulative and period
TST: Remove metric correctness testing from period and cumulative tests

ENH: Removed answer key and related files

ENH: Update qrisk version
2016-08-23 13:49:27 -04:00
Scott Sanderson d00a44d505 MAINT: Add script to clean out compiled files. 2016-08-22 08:53:06 -04:00
Joe Jevnik 6cf080f4b5 BLD: fix blaze commit 2016-06-06 15:46:18 -04:00
Joe Jevnik cf1687ec72 Merge pull request #1227 from quantopian/blaze-loader-perf
ENH: improve performance of blaze core loader
2016-06-03 14:15:33 -04:00
Scott Sanderson 05ac438c3c DOC/DEV: Add sphinx-autobuild to docs.
Adds a `make livehtml` target that spawns a server that rebuilds and
serves the docs every time a change happens.
2016-05-27 16:39:29 -04:00
Joe Jevnik 151c938982 ENH: upgrade blaze ecosystem packages 2016-05-25 13:21:26 -04:00
Richard Frank b9b4dc09a4 DEV: Adds type hinting stub for zipline.api
as well as tooling and docs to generate this for each release

Also moved Cython files to package_data, so that we install them,
instead of just packaging them.
2016-05-19 11:51:12 -04:00
Joe Jevnik 56c7c08ffc DEV: update dockerfile to leave source 2016-05-16 17:07:03 -04:00
Joe Jevnik 59c8e371a2 ENH: Updates the cli, data bundles and extensions.
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.
2016-05-03 18:38:24 -04:00