Commit Graph
109 Commits
Author SHA1 Message Date
llllllllllandjfkirk 9cd3707440 BLD: Adds sqlalchemy to reqs 2015-09-10 11:53:23 -04:00
llllllllllandjfkirk dd956116b7 ENH: sqlalchemy 2015-09-10 11:53:23 -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 21610053e6 MAINT: Upgrade PyPI versions of tornado, mistune, mock, patsy 2015-07-23 14:51:25 -04:00
Jonathan Kamens b2fc9da1c8 PyPI updates 2015-07-14 17:19:03 -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 50d557975d MAINT: Upgrade Cython to 0.22.1 2015-07-09 14:41:57 -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
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 8188d9c975 MAINT: Upgrade pytz to 2015.4 2015-05-13 22:55:10 -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 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 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 d109e81d3b MAINT: Update a bunch of PyPI package versions 2015-03-19 17:21:25 -04:00
John RicklefsandJonathan Kamens 935579fc28 MAINT: Upgrade Pandas to 0.15.2 2015-03-19 17:21:25 -04:00
Dale JungandEddie Hebert 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
Dale JungandEddie Hebert 913fbb0568 PERF: Replaced use of a pandas.Series for dict-like duties to a cython
based OrderedDict. Series/ndarray can only be sped up so much because
they weren't designed for fast iterative mutations.

This also cut down on the # of intermediate Series being generated
during perf stat generation. Things like s[s > 0] will create a new
Series for s > 0.

Moved cython to requirements.txt and added cyordereddict
2015-02-23 11:57:07 -05:00
Thomas Wiecki 65c038d0da Revert "MAINT Update pandas to 0.15.2."
This reverts commit b121759c68.
2015-01-28 10:39:41 +01:00
Thomas Wiecki b121759c68 MAINT Update pandas to 0.15.2. 2015-01-18 00:11:40 +01:00
Jonathan Kamens a3d7483488 MAINT: Upgrade to requests 2.5.1 2014-12-26 10:02:28 -05:00
John Ricklefs 16827e1af4 REV: Revert numpy update (back to 1.8.1)
This reverts commit 0eb12156c8.
2014-09-18 14:10:13 -04:00
John Ricklefs 0eb12156c8 BLD: Update numpy to 1.8.2 2014-09-18 12:23:54 -04:00
Thomas Wiecki 3f1c3b39ad MAINT: Make talib an optional dependency. Fixes #362. 2014-08-04 13:25:46 +02:00
Scott Sanderson fe52254bc2 BUG: Rolling back Logbook version due to incompatibility with Processor/filter
interactions.
2014-06-16 13:52:09 -04:00
Eddie Hebert 36501a462b BLD: Set scipy back to 0.12.0
The internal system used to build and get burn-in on packages was
accidentally using scipy 0.12.0, despite the change in the requirements
file to 0.13.2

Setting back to using scipy 0.12.0 until 0.13.2 is more tested with
internal systems, with the goal of upgrading to >= 0.14.0 as soon as
possible.
2014-06-09 14:45:43 -04:00
Eddie Hebert 26b2a466cf BLD: Update pytz to latest version.
2014.3 -> 2014.4
2014-06-02 22:15:01 -04:00
Eddie Hebert 00f89a69b4 BLD: Make TA-Lib install compatible with pip >= 1.5
Since TA-Lib's releases are hosted on Github instead of PyPI,
add the `allow-external` and `allow-unverified` flags for just
TA-Lib.

This change means that versions of pip < 1.5 can not be used,
since the flags do not exist in those versions.
2014-05-28 13:47:40 -04:00
Eddie Hebert caa14ee8f0 BLD: Order build of pandas before statsmodels.
pandas is required for statsmodels, so order installs so
that pandas is available for at build time for statsmodels
2014-05-28 12:03:09 -04:00
Eddie Hebert b34191bb01 BLD: Order scipy install before statsmodels.
statsmodels requires scipy to build, so list the scipy install
before statsmodels so that ordered_pip.sh will install it beforehand.
2014-05-28 11:44:19 -04:00
Eddie Hebert ce4567b4bb BLD: Upgrade pytz to 2014.3
Keep library up to date.
2014-05-27 16:51:09 -04:00
Eddie Hebert 2ef576a758 BLD: Upgrade Logbook to 0.7.0
Keep library up to date.
2014-05-27 16:50:29 -04:00
Eddie Hebert 543165fa05 BLD: Upgrade Cython dependency.
Upgrade Cython from 0.20 -> 0.20.1 to keep package up to date.
2014-05-27 16:10:19 -04:00
Eddie Hebert dbaf0facda BLD: Upgrade six library to 1.6.1
From 1.5.2 -> 1.6.1

Keep package up to date.
2014-05-27 15:55:36 -04:00
Eddie Hebert cfd3656d28 BLD: Upgrade requests dependency to 2.3.0
Upgrade requests from 2.2.0 to 2.3.0

To keep up-to-date, Changelog does not appear to have any changes
that would affect our usage one way or the other.
2014-05-27 15:08:09 -04:00
Eddie Hebert 9572c55a9d STY: Remove trailing empty line from requirements file. 2014-05-27 11:56:09 -04:00
Eddie Hebert 146ec9329b BLD: Upgrade numpy from 1.8.0 -> 1.8.1
Keep numpy package up to date.
1.8.1 is a bug fix release, so should be no breaking changes.
2014-05-23 16:19:43 -04:00
Jonathan Kamens 96d8ebec3d BLD: List patsy before statsmodels in requirements.txt 2014-05-21 05:25:05 -04:00
Jonathan Kamens 03e40fd057 BLD: statsmodels requires patsy
Since statsmodels requires patsy, and statsmodels is now in
requirements.txt instead of requirements_dev.txt, patsy also needs to
be in requirements.txt instead of requirements_dev.txt.
2014-05-21 05:15:56 -04:00
Tony LambirisandEddie Hebert 32a29088fe BLD: Move statsmodels from dev requirements into main requirements.
Pandas website states statsmodels is needed for parts of pandas.stats.
Also, update statsmodels to 0.5.0.

Upgrade of version is to both keep up to date, and to improve
performance on lazy imports, as fixed by
https://github.com/statsmodels/statsmodels/issues/573
2014-05-20 12:56:57 -04:00
twiecki 63e3aa4c1e BLD: Remove duplicate six entry. 2014-04-14 09:04:02 -04:00
twiecki b0220ab225 BLD: Add six as dependency. 2014-04-14 08:03:48 -04:00
Eddie Hebert b294d30af0 BLD: Update TA-Lib to latest version.
Keeping current with TA-Lib release.
Also, TA-Lib 0.4.7 has been removed from PyPI, so 0.4.8
is required for fresh PyPI based installs.
2014-02-07 22:03:06 -05:00
Eddie Hebert aa4c67cd4d BLD: Update to latest Cython release.
0.19.2 -> 0.20
2014-01-20 20:05:02 -05:00
Richard Frank dadf867cf4 MAINT: Updated requests requirement to 2.2.0 2014-01-10 10:01:42 -05:00
Eddie Hebert 61ccce760e BLD: Remove unused requirement of iso8601 package. 2014-01-08 11:13:26 -05:00