Commit graph

214 commits

Author SHA1 Message Date
Joe Jevnik
3bc639ac67 REL: 1.0.0 2016-05-19 20:35:07 -04:00
Joe Jevnik
a74b35408a DOC: whatsnew for the stub file 2016-05-19 19:46:44 -04:00
Richard Frank
b9b4dc09a4 DEV: Adds type hinting stub for zipline.api
as well as tooling and docs to generate this for each release

Also moved Cython files to package_data, so that we install them,
instead of just packaging them.
2016-05-19 11:51:12 -04:00
dmichalowicz
1ec0bced6d ENH: Add builtin factors for correlation and regression 2016-05-18 15:11:12 -04:00
Joe Jevnik
587d5882c4 DOC: update 1.0 docs 2016-05-16 12:55:34 -04:00
Jean Bredeche
6b1cdb6929 DOC: Updated whatsnew with Q2 information. 2016-05-13 16:48:57 -04:00
Joe Jevnik
784d5f4a16 Merge pull request #1199 from quantopian/boybands-factor
BollingerBands factor
2016-05-13 15:35:10 -04:00
Joe Jevnik
fa15b49a32 DOC: update whatsnew 2016-05-13 15:36:13 -04:00
Joe Jevnik
2297ace20c ENH: Adds BollingerBands factor. 2016-05-11 21:41:55 -04:00
Joe Jevnik
87c20373b4 DOC: document that docs should be built with py3 2016-05-06 15:32:48 -04:00
Joe Jevnik
d888c4faaa DOC: update docs for api functions 2016-05-06 15:25:30 -04:00
Joe Jevnik
0562179060 Merge pull request #1178 from quantopian/quantopian-quandl
ENH: Adds quantopian-quandl bundle as new default.
2016-05-06 12:53:07 -04:00
Joe Jevnik
a26802efd2 DOC: Update docs for bundles and fix the whatsnew 2016-05-05 18:22:14 -04:00
Joe Jevnik
89542e33bd ENH: Adds quantopian-quandl bundle as new default.
This data bundle will use the quantopian mirror of the quandl WIKI data
instead of downloading from quandl directly. This dramatically improves
the speed because we do not pay the rate limiting for quandl and we can
send the data in the format zipline expects.
2016-05-05 18:22:13 -04:00
Scott Sanderson
317ecc8aa8 DOC: Add whatsnew. 2016-05-04 16:31:58 -04:00
Joe Jevnik
59c8e371a2 ENH: Updates the cli, data bundles and extensions.
Adds the data bundle concept which makes it easy for users to register
loading functions to build out minute and daily data along with an
assets db and adjustments db. By default we have provided a `quandl`
bundle which pulls from the public domain WIKI dataset. Users may
register new bundles by decorating an ingest function with
`zipline.data.bundles.register(<name>)`. This also provides a
`yahoo_equities` function for creating an ingestion function that will
load a static set of assets from yahoo.

The cli is now structured as a couple of subcommands and has been
changed to `python -m zipline`. The old behavior of `run_algo.py` has
been moved to the `run` subcommand. This is almost entirely the same
except that it now takes the name of the data bundle to use, defaulting
to `quandl`.

The next subcommand is `ingest` which takes the name of
a data bundle to ingest. This will run the loading machinery and write
the data to a specified location that `run` can find.

There is also a `clean` subcommand which deletes the data that was
written with `ingest`.

Extensions have also been added to zipline. This is an experimental
feature where users can provide an extra set of python files to run at
the start of the process. These can be used to configure aspects of
zipline. Right now the only thing that is supported in an extension file
is the registration of a new data bundle.
2016-05-03 18:38:24 -04:00
Joe Jevnik
efac476976 ENH: make BcolzMinuteBarWriter.write take iterable
Updates the BcolzMinuteBarWriter.write api to allow users to pass their
data as a stream instead of requiring that they loop over their data
externally. This matches the API presented by BcolzDailyBarWriter.
2016-04-29 16:14:48 -04:00
dmichalowicz
84e5c32cde DOC: Move latest notes to 1.0.0.txt 2016-04-21 12:42:22 -04:00
dmichalowicz
d9bfcaabde ENH: Support multiple outputs for custom factors 2016-04-21 10:57:29 -04:00
Joe Jevnik
bc0b117dc9 MAINT: make the data loading apis more consistent.
Changes BcolzDailyBarWriter to not be an abc, data is passed as an
iterator of (sid, dataframe) pairs to the write method.

Changes the AssetsDBWriter to be a single class which accepts an engine
at construction time and has a `write` method for writing dataframes for
the various tables. We no longer support writing the various other data
types, callers should coerce their data into a dataframe themselves. See
zipline.assets.synthetic for some helpers to do this.

Adds many new fixtures and updates some existing fixtures to use the new
ones:

WithDefaultDateBounds
  A fixture that provides the suite a START_DATE and END_DATE. This is
  meant to make it easy for other fixtures to synchronize their date
  ranges without depending on eachother in strange ways. For example,
  WithBcolzMinuteBarReader and WithBcolzDailyBarReader by default should
  both have data for the same dates, so they may use depend on
  WithDefaultDates without forcing a dependency between them.

WithTmpDir, WithInstanceTmpDir
  Provides the suite or individual test case a temporary directory.

WithBcolzDailyBarReader
  Provides the suite a BcolzDailyBarReader which reads from bcolz data
  written to a temporary directory. The data will be read from
  dataframes and then converted to bcolz files with
  BcolzDailyBarWriter.write

WithBcolzDailyBarReaderFromCSVs
  Provides the suite a BcolzDailyBarReader which reads from bcolz data
  written to a temporary directory. The data will be read from a
  collection of CSV files and then converted into the bcolz data through
  BcolzDailyBarWriter.write_csvs

WithBcolzMinuteBarReader
  Provides the suite a BcolzMinuteBarReader which reads from bcolz data
  written to a temporary directory. The data will be read from
  dataframes and then converted to bcolz files with
  BcolzMinuteBarWriter.write

WithAdjustmentReader
  Provides the suite a SQLiteAdjustmentReader which reads from an in
  memory sqlite database. The data will be read from dataframes and then
  converted into sqlite with SQLiteAdjustmentWriter.write

WithDataPortal
  Provides each test case a DataPortal object with data from temporary
  resources.
2016-04-15 23:46:10 -04:00
Eddie Hebert
ee26b57517 DOC: Add whatsnew entry for ExpiringCache. 2016-04-14 16:10:32 -04:00
dmichalowicz
b94cc73d26 DOC: Docstring and whatsnew for masked custom factors. 2016-04-12 11:59:17 -04:00
Richard Frank
c2076670f5 DOC: Don't include the commit hash in the docs titles 2016-03-30 11:38:00 -04:00
Richard Frank
f8f81b9e2f DOC: Changed doc back to using --tags
since --follow-tags only works for annotated tags
2016-03-30 11:25:18 -04:00
Richard Frank
051f7ff114 DOC: Updated release process doc based on discrepancies
found during latest release
2016-03-30 11:24:38 -04:00
Richard Frank
488d638d42 DOC: Fixed typo in sdist documentation 2016-03-29 22:26:00 -04:00
Richard Frank
95ba17f83f DOC: whatsnew for 0.9.1
and updated that 0.8.5 was made into 0.9.0
2016-03-29 22:25:27 -04:00
Richard Frank
096490129e REL: 0.9.0 2016-03-29 21:36:38 -04:00
Maya Tydykov
3b71111954 Merge pull request #1093 from quantopian/finish-dividends-in-pipeline
MAINT: add dividends datasets to inits
2016-03-29 18:56:13 -04:00
Maya Tydykov
d7a012a477 MAINT: add dividends datasets to inits
DOC: add whatsnew entries
2016-03-29 17:43:01 -04:00
Richard Frank
6a24731971 DOC: Updated release process doc for github release 2016-03-29 17:03:27 -04:00
Richard Frank
adb8556323 DOC: Updated release process doc for automated conda builds 2016-03-29 17:03:21 -04:00
Richard Frank
2a9d5198d9 DOC: Updated whatsnew highlights 2016-03-29 15:48:00 -04:00
Richard Frank
92947d3268 DOC: Push release commits and tags together 2016-03-29 15:48:00 -04:00
Scott Sanderson
8c059e6da6 Merge pull request #1075 from quantopian/quantiles
Quantiles
2016-03-29 12:57:45 -04:00
Richard Frank
dd85b2d7b2 DOC: Updated whatsnew for continuous integration enhancements 2016-03-28 10:02:25 -04:00
Scott Sanderson
39507efed2 DOC: Add whatsnew for quantiles. 2016-03-25 15:11:18 -04:00
dmichalowicz
9d006b328b DOC: Add whatsnew entry 2016-03-23 15:08:38 -04:00
Scott Sanderson
c90ac1ad33 DOC: Add whatsnew entry. 2016-03-19 19:09:16 -04:00
Joe Jevnik
721dd36116 TST: move test_utils and adds test fixture classes
Renames zipline.utils.test_utils to zipline.testing

Adds zipline.testing.fixtures.ZiplineTestCase to manage setup and
teardown and adds mixins to define fixtures like an asset finder or
trading calendar.
2016-03-10 15:39:52 -05:00
Maya Tydykov
0010828893 DOC: update whatsnew. 2016-03-03 15:27:16 -05:00
dmichalowicz
8866614aa1 DOC: update whatsnew for equity auto closes 2016-02-25 14:49:08 -05:00
Joe Jevnik
63b3c4c73c DOC: whatsnew for 0.8.5 2016-02-24 22:56:48 -05:00
Richard Frank
8e1b9b7a8d REL: 0.8.4 2016-02-24 21:26:05 -05:00
Joe Jevnik
e45a973e22 DEV: add conda_build_matrix.py to help upload packages 2016-02-24 21:26:05 -05:00
Richard Frank
720e880fd9 DOC: Updated release doc about bdist_wheel 2016-02-24 21:26:05 -05:00
Richard Frank
3bca062cd7 DOC: Updated with latest release process 2016-02-24 18:51:48 -05:00
Abhijeet Kalyan
ab7a5ee1cd DOC: Add whatsnew entry for batch transform deprecation 2016-02-24 16:15:46 -05:00
Joe Jevnik
7462c8d16e DOC: update whatsnews 2016-02-23 17:25:19 -05:00
Joe Jevnik
7b2e646458 STY: correct underline length 2016-02-23 17:09:18 -05:00
Joe Jevnik
0d3cbdf3a8 DOC: update whatsnew 2016-02-23 17:08:54 -05:00
Joe Jevnik
0007b49ec5 DOC: add commit extlink for zipline commits 2016-02-23 17:08:45 -05:00
Scott Sanderson
3cfc22ed77 DOC: Add whatsnew. 2016-02-12 21:23:47 -05:00
Scott Sanderson
9551e13895 DOC: Add whatsnew entry. 2016-02-10 18:51:33 -05:00
jfkirk
f15245924d DOC: Whatsnew entry for assets db downgrade 2016-01-22 15:48:31 -05:00
Richard Frank
4ee919aeb2 Merge pull request #959 from quantopian/asset_keyerror
Asset KeyError
2016-01-21 12:38:53 -05:00
Richard Frank
46a47d407c DOC: Added whatsnew 2016-01-21 11:47:32 -05:00
Eddie Hebert
85be1b0a40 Merge pull request #963 from quantopian/minute-writer-for-one-per-sid-2
ENH: Add writer for minute bcolz format.
2016-01-21 10:59:38 -05:00
Eddie Hebert
d5c3b5a15c ENH: Add writer for minute bcolz format.
Implement a writer for minute data into a format comprised of multiple
ctables, one for each individual asset, with a common 'index' shared by
all ctables where a given a dt maps to the same array index for all
equities and fields.

This format is pulled from the lazy-mainline/Q2.0 branch, with some
changes to the interface.

Add basic retrieval of values at a given dt to reader. Not yet used by
Zipline simulations, but added to support unit tests.

Also, rename stubbed out us_equity_minutes to minute_bars, since the
writer can be agnostic to asset type.
2016-01-21 10:54:27 -05:00
jfkirk
85099c3bd0 DOC: whatsnew entry for total_positions_value bug fix 2016-01-19 16:11:22 -05:00
Richard Frank
0dac2e056f Merge pull request #937 from quantopian/conda_source_build
Conda source build
2016-01-15 18:38:50 -05:00
Joe Jevnik
6280614a69 DOC: whatsnew 2016-01-13 16:36:20 -05:00
Scott Sanderson
843280133d DOC: Add whatsnew. 2016-01-12 17:51:29 -05:00
Jonathan Kamens
2ee40db0ec MAINT: Upgrade requests 2.7.0 -> 2.9.1 2016-01-06 22:33:33 -05:00
Richard Frank
aa0dae6292 DOC: Added whatsnew for conda build 2016-01-05 21:30:43 -05:00
Joe Jevnik
f09af0b770 DOC: whatsnew entry 2016-01-05 18:08:20 -05:00
Joe Jevnik
7a6ba4f249 Merge pull request #924 from quantopian/dataset-subclassing
ENH: Make datasets have subclass relationships
2015-12-29 11:43:55 -05:00
Scott Sanderson
1f137d4dd8 Merge pull request #927 from quantopian/dollar-volume-update
ENH: Change DollarVolume to AverageDollarVolume.
2015-12-28 16:14:16 -05:00
Scott Sanderson
72887f0065 ENH: Change DollarVolume to AverageDollarVolume. 2015-12-28 16:12:11 -05:00
Joe Jevnik
7b6ea9dd26 DOC: add whatsnew entry for exception changes 2015-12-22 12:31:15 -05:00
llllllllll
f933d6b44e DOC: whatsnew entry 2015-12-22 12:25:30 -05:00
dmichalowicz
e2d088c2be DOC: Update whatsnew 2015-12-21 16:49:01 -05:00
Scott Sanderson
8abef95bb5 DOC: Rename exponential stddev.
ExponentialWeightedStandardDeviation -> ExponentialWeightedMovingStdDev.

This is more consistent with the other moving moment factors.
2015-12-18 14:30:28 -05:00
Scott Sanderson
7305f0c3b9 DOC: Miscellaneous docs updates. 2015-12-11 22:29:41 -05:00
Scott Sanderson
7996c07107 DOC: Add whatsnew. 2015-12-11 22:20:38 -05:00
Scott Sanderson
b5d3f2be0a DOC: Update whatsnew. 2015-12-11 13:54:57 -05:00
Scott Sanderson
1a595c00ef DOC: Fix formatting in homebrew link. 2015-12-08 15:25:57 -05:00
Scott Sanderson
c4da85b34c DOC: Add libfreetype6-dev to debian reqs. 2015-12-08 13:30:25 -05:00
Scott Sanderson
fabac9e3b9 DOC: Add whatsnew. 2015-12-08 12:43:57 -05:00
Scott Sanderson
63af5273d1 DOC: Add docs section on installation. 2015-12-08 12:35:34 -05:00
Tim Shawver
d576a9dd3a Add the built-in factors to the API docs for zipline.io, so that I can link to the Returns factor from the release notes. 2015-12-01 15:54:19 -05:00
Tim Shawver
026ab30ea5 Added an entry to whatsnew for 0.8.4. 2015-12-01 15:26:10 -05:00
llllllllll
68a08d8c2a DOC: whatsnew 2015-11-24 16:45:52 -05:00
Scott Sanderson
121632e814 DOC: Add a whatsnew entry. 2015-11-20 21:12:34 -05:00
Richard Frank
4237a08584 DOC: Updated whatsnew for missing benchmarks handling 2015-11-19 09:40:13 -05:00
Scott Sanderson
a9c91a7fbf MAINT: Add a script for deploying docs changes. 2015-11-19 02:59:31 -05:00
Scott Sanderson
7098462cd9 DOC: Document more documentation improvements. 2015-11-19 00:54:55 -05:00
Scott Sanderson
3100a60dd4 DOC: Use absolute paths. 2015-11-19 00:50:00 -05:00
Scott Sanderson
8503c91339 DOC: Verb choice. 2015-11-19 00:49:00 -05:00
Scott Sanderson
7f9856d129 DOC: Add active development section to releases. 2015-11-19 00:47:35 -05:00
Scott Sanderson
b71327d694 STY: Oxford comma. 2015-11-19 00:46:41 -05:00
Scott Sanderson
e812a1c7a8 DOC: Document updates to documentation. 2015-11-19 00:15:17 -05:00
Scott Sanderson
1524944edd DOC: Many docs improvements.
- Generate links to sourcecode via the Sphinx `viewcode` extension.
- Generate reference docs for Asset/Equity/Future, AssetFinder, and
  AssetDBWriter.
- Generate reference docs for Pipeline API classes.
- Fix broken links and formatting issues in the 0.8.4 whatsnew.
- Use embedsignature in _assets.pyx so that the signatures of Asset
  subclasses are inspectable.
2015-11-19 00:15:17 -05:00
Scott Sanderson
dfe21dc1de DOC: Add whatsnew for isnan and friends. 2015-11-18 22:44:20 -05:00
Scott Sanderson
182cf9754c DOC: Add a whatsnew. 2015-11-13 18:12:10 -05:00
Richard Frank
19eb6d0f59 DOC: Updated whatsnew 2015-11-13 17:14:29 -05:00
Richard Frank
f3f5d8a425 DOC: Updated whatsnew 2015-11-13 09:45:05 -05:00
jfkirk
7a1abc88f8 DOC: Adds whatsnew for asset db versioning 2015-11-12 14:44:20 -05:00
Maya Tydykov
1fe4dfe229 Merge pull request #830 from quantopian/equity_caching
Equity caching
2015-11-12 14:01:29 -05:00
Maya Tydykov
df492ecf7f DOC: add whatsnew entry for AssetFinderCachedEquities. 2015-11-12 11:02:30 -05:00
llllllllll
fb90e71e6b DOC: whatsnew for subtest 2015-11-11 19:23:20 -05:00
llllllllll
b37b7cd89c DOC: add entry for release-process docs 2015-11-11 19:21:26 -05:00
llllllllll
715baeb269 DOC: document the release process 2015-11-11 19:21:26 -05:00
llllllllll
0ff82807a5 DOC: whatsnew entry for versioneer changes 2015-11-11 18:47:51 -05:00
llllllllll
b6310db5ed DOC: whatsnew entry 2015-11-11 14:19:13 -05:00
Richard Frank
234ab15be3 DOC: Updated whatsnew 2015-11-10 20:16:10 -05:00
llllllllll
5d44e75ebf DOC: whatsnew entry 2015-11-10 15:36:35 -05:00
llllllllll
e1b92bcef0 DOC: document the reason for 0.8.3 2015-11-06 20:10:39 -05:00
llllllllll
f7f5f538a5 REL 0.8.3
We messed up the sdist a couple times.
2015-11-06 19:41:49 -05:00
llllllllll
1955146184 REL: 0.8.0 2015-11-06 15:10:34 -05:00
llllllllll
5c57be859d DOC: final cleanup 2015-11-06 15:10:34 -05:00
llllllllll
7980e47de8 DOC: Add more whatsnew enties for 0.8.0 2015-11-06 15:10:34 -05:00
llllllllll
8c65ac01a0 DOC: Add some entries for 0.8 2015-11-06 15:10:34 -05:00
llllllllll
39a4cf0a9e DOC: use sphinx docs 2015-11-06 15:10:34 -05:00