Commit Graph

143 Commits

Author SHA1 Message Date
Eddie Hebert 408c129760 BLD: Remove Delorean as a build and setup dependency.
Now that we use pandas Timestamp throughout, Delorean is no longer
needed as a dependency.
2013-11-11 11:47:41 -05:00
Eddie Hebert 1794e4e716 DEV: Update flake8 to latest release. 2013-10-29 13:40:28 -04:00
Eddie Hebert b44fc20e4e MAINT: Remove msgpack as a dependency.
Now that the data serialization uses pandas, msgpack is no longer
needed.
2013-10-01 14:28:11 -04:00
Eddie Hebert ead9fc953f TST: Begin annotation notebook for risk answer key.
Read tests.risk.answer_key module into an IPython notebook, to start
a base to which answer key values and explanations can be added and
display without access to Excel.

For now, the notebook just provides the latest download link for
the spreadsheet.
2013-08-14 12:36:47 -04:00
Jonathan Kamens 2ca4d3cff7 MAINT: Update Dev requirements
Upgrade matplotlib in Dev requirements to 1.3.0, and add tornado==3.1
and pyparsing==2.0.1 which are required by matplotlib.
2013-08-06 11:59:26 -04:00
Eddie Hebert adb10d9829 BLD: Rename extra requirements to goodies.
Since these modules are not requirements, make the name more clear
about the distinction. Especiall, so that build scripts do not pick
up this file when including wildcards whit a requirements prefix.
2013-08-05 16:41:53 -04:00
Eddie Hebert cfcafa8102 BLD: Update extra requirements to latest versions.
scikits.learn was renamed to scikit-learn
2013-08-05 16:35:09 -04:00
Eddie Hebert e5a9b08abf BLD: Update nose-paremeterized to latest release. (1.3.0) 2013-08-05 13:52:58 -04:00
Eddie Hebert 8dc3bb82e5 BLD: Update pandas to 0.12.0 2013-07-29 07:41:56 -04:00
Eddie Hebert d0118ff6de BLD: Fix typo in pip specification of xlrd 2013-07-18 14:44:08 -04:00
Eddie Hebert b759409525 TST: Add xlrd module to requirements_dev
THe xlrd module is used by the answer_key module to read results
from a spreadsheet.
2013-07-18 14:35:00 -04:00
Jonathan Kamens 948846c254 MAINT: Upgrade pep8, pyflakes 2013-07-12 14:20:59 -04:00
Eddie Hebert fa13a98aa2 MAINT: Update TA-Lib to latest release. 2013-06-05 13:30:11 -04:00
Jonathan Kamens 9ee0d5e3a3 Upgrade Logbook to 0.4.2 2013-06-04 13:30:42 -04:00
Jonathan Kamens 3390c017bb MAINT: Upgrade dependent package versions, add pip-tools
pandas==0.11.0, Cython==0.19.1, TA-Lib==0.4.6, requests==1.2.3,
delorean==0.2.1, nose-parameterized==0.3, pyflakes==0.7.2

Also add pip-tools==0.3.4 to requirements_dev.txt.
2013-05-30 09:38:28 -04:00
Eddie Hebert 5ae1aab2af TST: Add nose-ignore-docstring plugin to requirements and setup.cfg
So that docstrings can be added for test documentation, but suppress
those docstrings in test output by default.
2013-05-04 12:52:38 -04:00
Eddie Hebert e3c783e163 BLD: Add scipy to test requirements.
For example scripts. Though compiling scipy for TravisCI may be the
straw that breaks the camel's back as far as total suite run time.
2013-05-03 13:32:30 -04:00
Eddie Hebert 727f7bef19 BLD: Use statsmodels 0.4.3 for test scripts.
0.5.0 is unavailable via the pep syntax, an incongruity
between the results of `pip install` and `pip freeze`
2013-05-03 09:40:27 -04:00
Eddie Hebert 42ad791f39 BLD: Add libraries needed for running examples.
Add statsmodels and patsy, since they are used by example scripts
and example scripts are now run as part of the unit test suite.
2013-05-03 09:17:17 -04:00
Eddie Hebert 7bc20639da BLD: Add matplotlib to test requirements.
Example scripts use matplotlib, so add to requirements_dev.txt
so that CI will include matplotlib.
2013-05-02 16:54:57 -04:00
Eddie Hebert 440e7ce076 BLD: Add Cython as a requirement. For TA-Lib. 2013-04-30 21:24:50 -04:00
Eddie Hebert 56dae3a288 BLD: Include TA-Lib package as a dependency.
CI build was failing due to lack of package.
2013-04-30 19:52:40 -04:00
Jonathan Kamens d61c6c0af5 MAINT: nit: "nose==1.3.0" instead of "nose==1.3" 2013-04-10 10:35:16 -04:00
Jonathan Kamens 790e588911 MAINT: Upgrade nose==1.3, numpy==1.7.1 2013-04-09 11:55:11 -04:00
Jonathan Kamens 564c81f4a7 MAINT: PyPI upgrade mccabe==0.2.1 2013-04-04 16:13:48 -04:00
Jonathan Kamens 4971d8478e MAINT: Specify --use-mirrors to pip install 2013-04-04 11:40:47 -04:00
Eddie Hebert 94f1152353 DEV: Update pegged version of requests. 1.1.0 -> 1.2.0 2013-04-02 20:14:24 -04:00
Eddie Hebert 63063b1ebe DEV: Fixes typo in git stash message comparison. 2013-04-01 12:05:40 -04:00
Eddie Hebert c6f8f430d7 DEV: Handles empty stash case in pre-commit hook.
Handles the case when reword is called and the `commit --amend` invokes
the pre-commit hook, when there is no stash the `git stash pop -q`
in that case leaves the rebase in an odd state.
Fixes by only calling the stash pop if changes were saved.
2013-03-29 17:06:37 -04:00
Eddie Hebert 060b565cdc DEV: Adds stashing to pre-commit hook.
So that the code that is linted/tested is only the staged commits.
Useful when editing by only staging parts of files via git.
2013-03-20 11:00:38 -04:00
Eddie Hebert f054835cd1 DEV: Provides an example pre-commit hook.
This pre-commit hook can be activated by copying or symlinking to
the .git/hooks directory

This particular commit hook is best suited for git versions < 1.8.2
The running of nosetests would be better suited for a push hook,
but those are not added until 1.8.2.
2013-03-19 23:33:36 -04:00
Eddie Hebert ff991549b8 MAINT: Removes ipython related requirements.
Removes from requirements_dev.txt, since requirements_dev.txt is
used in various unit testing environments, ipython, pyzmq, etc.
is extra weight that is being unecessarily pulled in.
2013-03-19 14:38:55 -04:00
Jonathan Kamens 9ad33ec941 MAINT: PyPI updates: six==1.3.0, delorean==0.2.0 2013-03-19 09:13:56 -04:00
Jonathan Kamens 8f91711390 MAINT: New pytz version in requirements.txt 2013-03-15 13:31:29 -04:00
Eddie Hebert 085eb040af MAINT: Updates pep8 from 1.4.4 -> 1.4.5 2013-03-09 17:32:55 -05:00
Jonathan Kamens 95e702ac84 MAINT: Update pyzmq version in dev requirements 2013-03-03 16:03:02 -05:00
Jonathan Kamens f38ed47773 DEV: List mccabe, pep8, pyflakes (used by flake8) in dev requirements 2013-02-26 11:11:23 -05:00
Jonathan Kamens cfd0fa507b MAINT: Upgrade dev requirements to flake8 2.0 2013-02-25 11:22:48 -05:00
Jonathan Kamens 1a30bdf93a Upgrade msgpack-python to 0.3.0 2013-02-19 23:09:38 -05:00
Jonathan Kamens 8eb92830c9 Don't capitalize delorean in requirements.txt 2013-02-18 14:20:58 -05:00
fawce 2c7355a0dc Refactoring of TradingEnvironment to isolate the global state: index symbol and exchange timezone. Parameters that define the simulation (start, end, and capital base) were put in a new class, SimulationParameters.
Global state for the financial simulation environment is accessed through the
zipline.finance.trading module, which now contains a module variable:
environment.

Parameters are passed into an algorithm as a keyword argument, sim_params.
SimulationParameters creates a trading day index for the test period that
can be used to find trading days, calculate distance between trading days,
and other common operations. The sim params index is just selected from the
global state.

================

Details:

    - adding delorean to the requirements.
    - made index symbol a parameter for loading the benchmark data. changed
    messagepack storage to be symbol specific.
    - ported risk, performance, algorithm, transforms, batch transforms
    and associated tests to use simulation parameters and global environment
    - factory and sim factory use global state and sim params
    - factory method parameter names now reflect the class expected
2013-02-18 10:24:32 -05:00
Jonathan Kamens ccd3ab33e7 Upgrade numpy to 1.7.0 2013-02-14 11:48:05 -05:00
Jonathan Kamens 629b6d6bd8 Upgrade to Pandas 0.10.1 2013-01-24 20:24:44 -05:00
Jonathan Kamens e2f091c96e Upgrade nose-parameterized to 0.2 2013-01-21 09:37:37 -05:00
Eddie Hebert b6779a85c7 Removes Jenkins configurations.
Public repo uses Travis-CI.
2013-01-21 01:01:27 -05:00
Jonathan Kamens 61773a2ebe Upgrade requests module to 1.1.0 2013-01-16 10:30:38 -05:00
Jonathan Kamens 27df611b8e Upgrade pytz 2013-01-04 12:45:53 -05:00
Jonathan Kamens 79c101a32a Remove nosexcover from dev requirements for zipline 2012-12-28 11:45:58 -05:00
Eddie Hebert c6759eb938 Upgrades requests to latest. 1.0.3 -> 1.0.4 2012-12-26 11:01:28 -05:00
Eddie Hebert 32ed8dacad Updates msgpack-python to latest. 0.2.3 -> 0.2.4 2012-12-26 10:59:48 -05:00