Commit Graph

240 Commits

Author SHA1 Message Date
llllllllll 9cd3707440 BLD: Adds sqlalchemy to reqs 2015-09-10 11:53:23 -04:00
llllllllll dd956116b7 ENH: sqlalchemy 2015-09-10 11:53:23 -04:00
Scott Sanderson a801547122 BLD: Read requirements from setup.py
- Parse our requirements.txt to keep install_requires up to date.
- Create extras builds for talib and dev.
- Use pip install -e .[dev] on Travis to install Zipline before testing.
2015-08-19 03:31:29 -04:00
Scott Sanderson 7f374f2ba3 MAINT: Bump bcolz version to latest. 2015-08-04 18:16:09 -04:00
Scott Sanderson ef4f642e62 ENH: Compute engine architecture for FFC API.
This patch lays the groundwork for a compute engine designed to
facilitate construction of factor-based universe screening and portfolio
allocation.  It contains:

A new module, `zipline.modelling`, containing entities that can be used
to express computations as dependency graphs.  Each node in such a graph
is an instance of the base `Term` class, defined in
`zipline.modelling.term`.  Dependency graphs are executed by instances
of `FFCEngine`, defined in `zipline.modelling.engine`.

A new module, `zipline.data.ffc`, containing loaders and dataset
definitions for inputs to the modelling API.

New `TradingAlgorithm` api methods: `add_factor`, and `add_filter`.
These methods can only be called from `initialize`, and are used to
inform the algorithm that each day it should compute the given terms.
Computed factor results are made available through a new attribute of
the `data` object in `before_trading_start` and `handle_data`.  Computed
filter results control which assets are available in the factor matrix
on each day.
2015-07-29 12:30:46 -04:00
Jonathan Kamens 576e4184d7 BLD: Update mock to release 1.3.0 2015-07-24 12:28:51 -04:00
Jonathan Kamens 393ea35e46 BLD: Switch back to PyPI version of xlrd
The bug which prompted us to use our own version of xlrd is patched in
the current PyPI release, so switch back to it.
2015-07-24 12:28:12 -04:00
Jonathan Kamens 622144fa75 BLD: Add "--exists-action w" to pip invocations 2015-07-23 15:58:13 -04:00
Jonathan Kamens 21610053e6 MAINT: Upgrade PyPI versions of tornado, mistune, mock, patsy 2015-07-23 14:51:25 -04:00
Jonathan Kamens 5e796aacf1 DEV: Add piprot and its deps to requirements_dev.txt 2015-07-23 14:34:03 -04:00
Jonathan Kamens b2fc9da1c8 PyPI updates 2015-07-14 17:19:03 -04:00
Jonathan Kamens f30c249e0e Upgrade versions of pbr and mock 2015-07-12 15:54:24 -04:00
Jonathan Kamens 7adba53f54 MAINT: pip<7.1.0 is incompatible with mock 1.1 2015-07-10 16:24:28 -04:00
Jonathan Kamens 38112aebc4 MAINT: Fix typos in etc/requirements_dev.txt 2015-07-10 10:47:05 -04:00
Jonathan Kamens 996ea19315 MAINT: Add more packages required by mock to requirements_dev.txt 2015-07-10 10:29:18 -04:00
Jonathan Kamens cb1bc4aa19 MAINT: Update mock and pull in all the packages it requires 2015-07-10 09:26:44 -04:00
Jonathan Kamens 5b0a7ae5a5 MAINT: Upgrade nose-parameterized to 0.5.0 2015-07-10 02:21:10 -04:00
Jonathan Kamens 50d557975d MAINT: Upgrade Cython to 0.22.1 2015-07-09 14:41:57 -04:00
Jonathan Kamens 6820fa704a MAINT: Upgrade nose-parameterized to 0.4.2 2015-07-09 14:00:29 -04:00
Eddie Hebert 9bf4855b8c MAINT: Move ZiplineAPI context so that it always wraps main loop.
Move the responsibility of wrapping the main simulation loop in the
ZiplineAPI context from the algorithm modules generator setup to the
main trade simulation loop, so that different methods of invoking loop
do not need to duplicate how the context is set.

To make it easier for internal implementation of handle_data to
transition off of calling the ZiplineAPI every bar, to only invoking the
context once per simulation.
2015-07-01 10:58:47 -04:00
Richard Frank c101e82399 BLD: Pass args to ordered_pip through to pip
This way, we can specify an index-url, for example.
2015-06-22 14:54:44 -04:00
Jonathan Kamens ed8b3b6c8c MAINT: Upgrade mistune to 0.6 2015-06-17 18:46:08 -04:00
Jonathan Kamens 3a88da28ca MAINT: Upgrade mccabe to 0.3.1 2015-06-15 08:34:17 -04:00
Jonathan Kamens 5ff04c4ea6 Old version of pyflakes required by flake8 2.4.1 2015-06-09 19:21:48 -04:00
Jonathan Kamens 7411ca2b26 MAINT: Upgrade tornado, TA-Lib versions 2015-06-09 17:29:34 -04:00
Jonathan Kamens a9affd5cfc MAINT: Upgrade nose and pyflakes 2015-06-09 13:31:05 -04:00
Jonathan Kamens 1097c37e3d MAINT: Peg pip version and fix incompatibility with pip 7.0.3
In d01e718373, we made a change for
compatibility with a change introduced in pip 7.0.0. Then the pip
maintainers went and reverted the change in pip 7.0.2, thereby
breaking our requirements file for the second time in ten days. This
change reverts the prior change so that we are once again compatible
with the current version of pip.

Also, to make it easier for people to avoid pip compatibility issues,
we're now specifying pip>=7.0.3 in etc/requirements.txt.
2015-06-03 14:50:56 -04:00
Jonathan Kamens d01e718373 MAINT: PIP requirements syntax change for current PIP compatibility 2015-05-26 15:48:42 -04:00
Jonathan Kamens 723e3e299a MAINT: Upgrade flake8 to 2.4.1 2015-05-19 10:27:20 -04:00
Jonathan Kamens ec395d84f6 MAINT: Switch to python-excel/xlrd.git 2015-05-17 10:24:51 -04:00
Jonathan Kamens 8188d9c975 MAINT: Upgrade pytz to 2015.4 2015-05-13 22:55:10 -04:00
Jonathan Kamens 3790a5631f MAINT: Upgrade certifi to 2015.4.28 2015-05-13 06:04:53 -04:00
Jonathan Kamens 9dab742725 MAINT: Upgrade pandas to 0.16.1 and requests to 2.7.0 2015-05-12 21:21:28 -04:00
Jonathan Kamens 63169961b7 MAINT: Upgrade Logbook to 0.9.1 2015-05-12 14:46:55 -04:00
Jonathan Kamens b3faa1dd3f BLD: New xlrd commitish 2015-05-12 13:56:28 -04:00
Jonathan Kamens 73459333ef TST: Fix DeprecationWarning in xlrd by using custom version of it 2015-04-30 14:24:47 -04:00
Jonathan Kamens e5a93b6f7e MAINT: Upgrade requests to 2.6.2 2015-04-24 07:12:07 -04:00
Jonathan Kamens 5ea4886dc1 MAINT: Upgrade requests to 2.6.1 2015-04-23 10:56:54 -04:00
Jonathan Kamens 74306f5d2d MAINT: Upgrade Markdown to 2.6.2 2015-04-22 21:12:44 -04:00
Jonathan Kamens 8ee7f6bd79 List dependencies before the things that depend on them
Because we use ordered_pip.sh to install requirements files, we want
dependencies in requirements_dev.txt to be listed _before_ the things
that depend on them, rather than after. Otherwise, with
ordered_pip.sh, stuff will get installed implicitly, and perhaps the
wrong version.
2015-04-22 16:06:33 -04:00
Jonathan Kamens 09c787829b MAINT: Upgrade nose to 1.3.6 2015-04-06 12:13:03 -04:00
Jonathan Kamens 80a704ff80 MAINT: Upgrade python-dateutil to 2.4.2 2015-04-02 20:16:36 -04:00
John Ricklefs b6b5275e67 MAINT: Downgrade Logbook to 0.6.0 2015-03-31 14:17:13 -04:00
Jonathan Kamens 3b56a62660 MAINT: PyPI package updates, incl. pandas 0.16.0 2015-03-24 05:04:40 -04:00
Jonathan Kamens b3a2809bee BLD: ordered_pip.sh: don't count blank/comment lines as packages! 2015-03-23 09:56:31 -04:00
Jonathan Kamens 9b6fc00c5a BLD: Make backports.ssl-match-hostname line ok for ordered_pip.sh
Remove whitespace from the backports.ssl-match-hostname line in
requirements_dev.txt to make it more palatable to ordered_pip.sh.
2015-03-23 09:11:22 -04:00
Jonathan Kamens d109e81d3b MAINT: Update a bunch of PyPI package versions 2015-03-19 17:21:25 -04:00
John Ricklefs 935579fc28 MAINT: Upgrade Pandas to 0.15.2 2015-03-19 17:21:25 -04:00
Jonathan Kamens e942275108 STY: Flake8
Upgrade the version of the flake8, pep8, and mccabe PyPI packages, and
make the code changes necessary for compatibility with the updated
packages.
2015-03-19 17:21:25 -04:00
Dale Jung 4c5cb867db PRF: Sped up the SIDData transforms by using raw values. Also fixed a
vwap zero division error.
2015-03-03 15:21:19 -05:00