Commit Graph

98 Commits

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