384 Commits

Author SHA1 Message Date
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