Commit Graph
112 Commits
Author SHA1 Message Date
llllllllll 97298d1ad4 ENH: upgrade ffill logic to look back as far as needed 2016-01-21 12:43:02 -05:00
Joe Jevnik 9d2ab48fb5 MAINT: pull the data query bounds logic into a helper 2016-01-13 16:08:29 -05:00
Joe Jevnik 2caa9277c4 ENH: Make the data_query_time arguments optional 2016-01-13 15:26:37 -05:00
Joe Jevnik 220cf1ae4e MAINT: reduce code duplication 2016-01-13 15:26:13 -05:00
Joe Jevnik 5a235bdaef ENH: allows users to specify the cutoff time for data query in blaze
loaders

This allows people to set their cutoff time to the time they will
actually execute 'before_trading_start'. Currently this is just passed
to the constructor of the loader; however, I would like to make this
managed by the algorithm simulation runner. This would help keep all of
the loaders in sync and lock 'before_trading_start's execution to the
time the data is queried for.
2016-01-13 15:26:13 -05:00
Joe Jevnik b4ac87b344 MAINT: rename variables in (next|previous)_date_frame to be more general 2016-01-08 13:21:34 -05:00
Joe Jevnik 280a0f55d2 STY: remove blank line 2016-01-08 13:11:31 -05:00
Joe Jevnik 826115acdf MAINT: generalize the (next|previous)_earnings_date_frame functions 2016-01-08 13:11:31 -05:00
Joe Jevnik b037a06576 MAINT: move some blaze utilities into a shared module 2016-01-08 13:11:31 -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
Joe Jevnik 54c58d1205 DOC: add comments about the column collection in DataSetMeta 2015-12-29 10:13:00 -05:00
Scott Sanderson 72887f0065 ENH: Change DollarVolume to AverageDollarVolume. 2015-12-28 16:12:11 -05:00
llllllllll a3fecd6527 ENH: support subclassing in the earningscalendar loader 2015-12-22 12:25:30 -05:00
llllllllll 32baac4e4b ENH: Make datasets have subclass relationships 2015-12-22 12:25:30 -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 71395d4ea1 DOC: Fix typo in CustomFactor docstring. 2015-12-17 13:18:20 -05:00
Scott Sanderson bd85f59fc0 DOC: Docs updates for EWMA/EWMSTD. 2015-12-14 13:32:28 -05:00
Scott Sanderson 7305f0c3b9 DOC: Miscellaneous docs updates. 2015-12-11 22:29:41 -05:00
Scott Sanderson b91f9697b9 ENH: Add ExponentialWeightedStandardDeviation. 2015-12-11 22:13:27 -05:00
Scott Sanderson 2235a53581 ENH: Add EWMA and DollarVolume factors. 2015-12-11 22:13:27 -05:00
Scott Sanderson 4b897a22f4 MAINT: Use full_like instead of full. 2015-12-10 17:19:49 -05:00
llllllllll 4963b2ca72 TST: Adds tests for infer_timestamp 2015-12-10 15:14:27 -05:00
Scott Sanderson e3d19bab25 MAINT: Fix failing blaze expr test. 2015-12-10 14:19:32 -05:00
Scott Sanderson dacbc0731e MAINT: Simplify BlazeEarningsCalendarLoader.
Removes codepaths that add implicit timestamps.
2015-12-10 13:53:21 -05:00
llllllllll 366e796975 MAINT: remove extra checks around empty odo_kwargs 2015-12-10 13:01:16 -05:00
Scott Sanderson f719fef55e STY: Many people prefer to read words with vowels. 2015-12-10 12:50:36 -05:00
Scott Sanderson 8220d1ee86 ENH: Adds support for different typed adjusted arrays and adds an
EarningsCalendar loader.

- Moves most of AdjustedArray back into Python. The window iterator is
  the only part that's performance-intensive.

- Adds a bootleg templating system for creating specialized versions of
  AdjustedArrayWindow for each concrete type we care about.

- Adds support for differently dtyped terms in pipeline. This allows us
  to use datetime64s which are needed in the EarningsCalendar.

- Adds EarningsCalendar dataset for the next and previous earnings
  announcements in pipeline.

- Adds in memory loader for EarningsCalendar.

- Adds blaze loader for EarningsCalendar.
2015-12-08 20:24:06 -05:00
Tim Shawver 631a1879a3 Adding a built in Returns factor to the pipeline API. 2015-12-01 13:24:41 -05:00
Scott Sanderson 3f28a924d7 DOC: Add missing period in docstring. 2015-11-25 15:26:37 -05:00
Scott Sanderson bdf66aaa3d BUG: Fix typo in CustomFactor docstring.
nan* functions should get passed the actual array.

Also adds code-block directives to the docstring so that they get
highlighted by Sphinx as Python code.
2015-11-23 13:38:05 -05:00
Scott Sanderson fde645aabe BUG: Correctly filter all AssetExists() nodes.
Previously we were only filtering input nodes.
2015-11-22 00:14:19 -05:00
Scott Sanderson 26cef8d959 DOC: Better doc and error messages for show_graph. 2015-11-20 21:09:12 -05:00
Scott Sanderson 667254206b DOC: warmup_assets is an optional arg. 2015-11-20 21:06:48 -05:00
Scott Sanderson f1d33aed96 ENH: Add warmup_assets to equity_pricing_loader. 2015-11-20 20:16:42 -05:00
Scott Sanderson 01b820d96c DOC: Add repr for CustomFactor. 2015-11-20 20:16:42 -05:00
Scott Sanderson 0b2787a86b MAINT: Add show_graph to Pipeline. 2015-11-20 20:15:52 -05:00
Scott Sanderson 7aa04a2e17 ENH: Add pipeline.engine_from_files. 2015-11-20 20:13:19 -05:00
Scott Sanderson ac7b44af23 ENH: Add USEquityPricingLoader.from_files. 2015-11-20 20:13:19 -05:00
Scott Sanderson f169bb00aa MAINT: Re-export USEquityPricingLoader. 2015-11-20 20:13:19 -05:00
Scott Sanderson cf7e87a4b9 DOC: Typo in docstring. 2015-11-20 20:02:56 -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 b43c4f4c0b ENH: Add isnan, notnan, and isfinite Factor methods. 2015-11-18 21:44:53 -05:00
Scott Sanderson 0f349fc3ed MAINT: Fix type coercion warnings with numpy 1.10.
Numpy warns about adding Python integers to uint32s and converting date
objects to datetime64.
2015-11-15 22:42:36 -05:00
Joe Jevnik 5ef9056a9b Merge pull request #808 from quantopian/delta-on-last-requested-date
BUG: Corrects an index error in blaze loader.
2015-11-05 16:59:04 -05:00
llllllllll 80cc2bd6f6 BUG: Corrects an index error in blaze loader.
Fixes the case where a delta has an asof_date of the last requested
day and an index error would occur. This guards against this
specifically to make the delta be effective through the end of the
requested window.

Adds a test case for this behavior.
2015-11-05 16:40:28 -05:00
Scott Sanderson 8cd4f7d100 MAINT: Make load_adjusted_array return a dict.
Rather than a list that's ordered the same as the received columns.
Most nontrivial loaders were constructing dicts internally and then
converting back to lists, only to have the engine convert **back again**
into a dict.  This cuts out the middleman, and prevents bugs due to
incorrect ordering of the output arrays.
2015-11-03 11:16:21 -05:00
John Ricklefs f599795d27 ENH: Allow pipelines to run with matching start/end dates 2015-10-22 14:23:00 -04:00
Scott Sanderson acce0779c9 DOC: Better docstring descriptions for mask. 2015-10-21 22:53:03 -04:00
llllllllll 420df53d78 ENH: pull sentinel construction into a function 2015-10-19 16:55:32 -04:00
llllllllll 1371bf2cd0 BUG: support case there are more sids requested than available in a blaze dataset 2015-10-19 16:35:03 -04:00