Commit Graph
5684 Commits
Author SHA1 Message Date
Eddie Hebert ab6b754922 Changes EventWindow parameter of days to window length.
The days parameter was causing confusion when explaining the
usage of the batch_transform decorator.
2012-11-20 11:52:27 -05:00
Eddie Hebert c9483a7e36 Merge branch 'master' into use-data-source-for-data-frame 2012-11-19 21:25:50 -05:00
Eddie Hebert 68c5709f21 Stylistic compliance with flake8 checker. 2012-11-19 21:24:51 -05:00
Eddie Hebert 8b16f7cfa0 Updates flake8 to latest in requirements txt.
Meant to go with previous flake8 changes.
2012-11-19 20:44:03 -05:00
Eddie Hebert 5a95122f21 Converts data frame source over to using DataSource base object. 2012-11-19 17:30:16 -05:00
Eddie Hebert f85ad50e60 Breaks the sources module into pieces.
Clearing the way for adding in a DataSource class within the
sources module.
2012-11-19 17:30:16 -05:00
Eddie Hebert cf0de17b13 Merge pull request #22 from quantopian/fix_batch_transform_days
BUG: batch_transform was wrongly updating when days < refresh_period.
2012-11-19 12:40:26 -08:00
Eddie Hebert 4a1fbb7d03 Removes unused fuzzy_dates method. 2012-11-19 12:50:46 -05:00
Eddie Hebert 0617e53d69 Upgrades flake8 from 1.5 -> 1.6
Also, removes flake8 ignores, since the warnings that were
at odds with eachother now work.
2012-11-19 12:49:09 -05:00
Thomas Wiecki 7bb8dca245 STY: Reversed order of if-statement. 2012-11-19 10:55:30 -05:00
Thomas Wiecki f2ce713b99 DOC: Added doc-string to get_data(). 2012-11-19 10:23:22 -05:00
Thomas Wiecki 4c02fea6e2 BUG: batch_transform was wrongly updating when days < refresh_period. 2012-11-19 10:20:24 -05:00
Eddie Hebert 4c3e0d5081 Brings pandas up to the latest version, 0.9.0 -> 0.9.1 2012-11-15 23:31:46 -05:00
Eddie HebertandEddie Hebert d5697cdf0a Fixes under-incrementation of risk report.
We were only incrementing the risk report by one day, and never
checking to see if that day we incremented into was a trading day
or not.

We now increment by day until we are on a trading day.

With an assist from @twiecki on:

Adapted test_risk_compare_batch_iterative to work with fixed
iterative risk class.
2012-11-15 14:13:04 -05:00
Eddie Hebert 4c3554042e Revert "Removes created member from risk metrics."
This reverts commit 18587b0623.

Reverting until we can support the removal in internal code.
2012-11-14 18:25:57 -05:00
Thomas Wiecki a71cb94f1d Merge pull request #21 from snth/docs-snth
High level documentation organisation
2012-11-14 06:07:22 -08:00
Thomas Wiecki 4563cc6c03 Merge pull request #20 from snth/docs-fixes
Docs fixes
2012-11-14 06:06:58 -08:00
Tobias Brandt b10bfc98a1 DOC: Added autodoc generating links for all submodules 2012-11-14 14:29:50 +02:00
Tobias Brandt 220cc557df DOC: Added a note on Time Compression and reformatted the .rst file. 2012-11-14 13:43:03 +02:00
Tobias Brandt 51838dbdd3 DOC: I took more documentation from the pypi README page and added it to the
Sphinx documentation.
2012-11-14 13:18:55 +02:00
Tobias Brandt e955012fce DOC: Replaced installation instructions with the ones from pypi. 2012-11-14 12:54:04 +02:00
Tobias Brandt 630ef8d4b9 DOC: Removed the messaging documentation since it seems obsolete. 2012-11-14 12:44:00 +02:00
Tobias Brandt b8380499bc DOC: Added Quantopian Manifesto 2012-11-14 12:40:03 +02:00
Tobias Brandt 03f582701f DOC: Changed the modules heading. 2012-11-14 12:20:15 +02:00
Tobias Brandt 2f325ee2b4 DOC: Added chapter headings for Messaging and Extensions to make the TOC more
readable.
2012-11-14 12:17:12 +02:00
Tobias Brandt 92fa9bf41d DOC: Renamed the notes section the installation section.
Fixed some formatting in the DataSources paragraph.
2012-11-14 12:12:42 +02:00
Tobias Brandt 3f969b7913 DOC: Made the Welcome page a little more welcoming and moved high-level notes
out into a separate page.
2012-11-14 12:02:03 +02:00
Tobias Brandt e0ef6586a2 DOC: Fixed escaping of special chars in math environment. 2012-11-14 11:26:02 +02:00
Tobias Brandt b02e392b68 DOC: Fixed escaping of long words in table cells. 2012-11-14 11:25:17 +02:00
Tobias BrandtandEddie Hebert 8ff566b5be DOC: Fixed syntax highlighting 2012-11-13 12:21:11 -05:00
Tobias BrandtandEddie Hebert 0134bbed82 DOC: Removed autodoc directive for *lines* module.
This module seems to no longer be there.
2012-11-13 12:20:26 -05:00
Tobias BrandtandEddie Hebert ff9093d226 DOC: Fixed some paragraph alignment and table formatting issues. 2012-11-13 12:20:07 -05:00
Eddie Hebert e5f41e7455 Bumps release to 0.5.2.
Mainly fixes to imports and downloading of resources that were
preventing installations.
2012-11-12 12:47:48 -05:00
Eddie Hebert 8eecf25985 Removes unittest2 from dev installed packages.
We removed unittest2 from our test suites in favor of the builtin
unittest from Python 2.7+
2012-11-12 10:50:04 -05:00
Tobias BrandtandEddie Hebert cf4d7ca353 Fixed unittest2 import error on Python 2.7
Changed all unittest2 imports to unittest
2012-11-12 10:49:14 -05:00
Eddie Hebert cc715b81ae Merge pull request #15 from quantopian/allow-data-when-installed-as-root
Allows data downloads when installed as root
2012-11-12 07:24:04 -08:00
Eddie Hebert 814953d077 Merge pull request #16 from quantopian/remove-created-field-from-risk
Removes `created` member from risk metrics.
2012-11-12 07:23:50 -08:00
Eddie Hebert 18587b0623 Removes created member from risk metrics.
`created` was being set, but unused.

It is one of the rare uses of the epoch_now and EPOCH,
so removing on the path of trimming down date_utils.
2012-11-09 06:58:06 -05:00
Eddie Hebert 8a0d6e72cd Changes the location of downloaded external data files.
So that the zipline library can be used when installed to a
write-protected location, e.g. the global site-packages,
moving the download files to a directory in the user's path,
which should be writeable.

For now, choosing a ~/.zipline/data location.
2012-11-08 22:51:03 -05:00
Eddie Hebert 742b44f87b Adds requests library to setup's required libraries.
So that loading of external data works 'out of the box'.
2012-11-08 22:49:15 -05:00
Thomas WieckiandEddie Hebert 126e9fdf26 Fixed batch_transform window length not being market aware.
Added accompanying unittest.

Minor refactoring of unittests and factory.
2012-11-06 21:13:27 -05:00
Eddie Hebert ec6ad7182c Merge pull request #9 from quantopian/protect-portfolio
Locks down the ability to easily override the algo's portfolio.
2012-11-05 12:52:55 -08:00
Eddie Hebert 086c12ddf8 Locks down the ability to easily override the algo's portfolio.
Starting down the path of making the portfolio completely read-only
with respect to the handle_data in algo.

The portfolio should only be changed during the course of running
the algorithm by the simulator.

This doesn't do a 100% protection, i.e. an algo could use _portfolio,
or the set_attr property, but hoping this helps guides algo writing
to treat the portfolio as read-only.
2012-11-05 13:40:23 -05:00
Eddie Hebert 96ba4c7d6c Upgrades numpy package to latest. 1.6.1 -> 1.6.2 2012-11-05 10:36:49 -05:00
Eddie Hebert bb2811e101 Updates ipython to the latest. 0.12 -> 0.13.1 2012-11-05 10:32:28 -05:00
Eddie Hebert 7e7bf72d76 Updates Logbook package to latest. 0.3 -> 0.4 2012-11-05 10:22:13 -05:00
Eddie Hebert 332d12c7e2 Upgrades Cython package to latest. 0.15.1 -> 0.17.1 2012-11-05 10:18:12 -05:00
Eddie Hebert a81a9bbf27 Upgrades msgpack-python package to latest. 0.1.12 -> 0.2.2 2012-11-05 10:12:25 -05:00
Eddie Hebert 64a190821d Upgrades nose package to latest. 1.1.2 -> 1.2.1 2012-11-05 10:07:40 -05:00
Eddie Hebert aa659772b2 Updates pytz package to latest. 2011n -> 2012h 2012-11-05 10:04:25 -05:00