Commit Graph

1173 Commits

Author SHA1 Message Date
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 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 Brandt 8ff566b5be DOC: Fixed syntax highlighting 2012-11-13 12:21:11 -05:00
Tobias Brandt 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 Brandt 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 Brandt 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 Wiecki 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
Eddie Hebert 18d4e61f00 Updates requests package. 0.14.1 -> 0.14.2 2012-11-05 10:01:49 -05:00
fawce fa427afb16 added algotime get/set to algorithm 2012-10-29 18:54:55 -04:00
Eddie Hebert c0b260fc4a Bumps version up to 0.5.1 in setup config. 2012-10-25 22:31:15 -04:00
Eddie Hebert c1227105ab Tweaks indentation. 2012-10-25 22:30:46 -04:00
Eddie Hebert 04642c0077 Removes leased sockets from unit test.
The leased sockets were from a previous architecture.
2012-10-25 10:37:58 -04:00
Eddie Hebert c529698730 Fixes Markdown links in README. 2012-10-25 09:42:58 -04:00
Eddie Hebert 657f93165d Removes unused test class member and corresponding import.
Leased sockets is from an older architecture.
2012-10-25 07:17:35 -04:00
Thomas Wiecki c0b161287d Fixed odd bug that caused the first day not to get simulated. This triggered some changes to the batchtransform unittests. 2012-10-23 17:57:27 -04:00
Thomas Wiecki 42c2a6b892 Adds example algorithm scripts. 2012-10-23 17:46:02 -04:00
Thomas Wiecki 63e19f71c0 Rewrites README.
Cleans up installation notes and adds quickstart code.
2012-10-23 17:42:12 -04:00
Eddie Hebert e77cce1dc2 Removes extra getter method for getting returns member. 2012-10-23 13:29:42 -04:00