Commit Graph

4047 Commits

Author SHA1 Message Date
dmichalowicz 393f82e81e ENH: Add single-column input/output capabilities to pipeline terms 2016-06-23 10:24:09 -04:00
Scott Sanderson e510cbbf7b Merge pull request #1280 from quantopian/bad-pipeline-columns
BUG: Fail fast on invalid pipeline columns
2016-06-22 18:44:40 -04:00
Richard Frank 000b64703a BUG: Fixes quandl bundle failing to download pricing data
for invalid symbol
2016-06-22 18:11:58 -04:00
Richard Frank 69b6cff964 Merge pull request #1289 from quantopian/wildcard
wildcard object and doctests
2016-06-22 18:09:57 -04:00
Joe Jevnik d608e0af4f Merge pull request #1276 from quantopian/blaze-loader-checkpoints
ENH: add ffill checkpointing to blaze core loader
2016-06-21 16:48:08 -04:00
Joe Jevnik ca37d73c7b TST: fix setup in test_flip_algo 2016-06-21 15:07:03 -04:00
Joe Jevnik bfa3e6f153 TST: 32b compat doctests 2016-06-21 15:07:03 -04:00
Joe Jevnik efd7bf72c3 TST: py3 compat doctests 2016-06-21 15:07:03 -04:00
Joe Jevnik 5925107052 TST: fix doctests to actually run 2016-06-21 15:07:03 -04:00
Joe Jevnik b210acb121 DOC: typo 2016-06-21 14:00:40 -04:00
Joe Jevnik cb266b983a TST: more test for checkpoints 2016-06-21 13:20:52 -04:00
Joe Jevnik c2723f3487 BUG: query everything if deltas are empty 2016-06-21 13:20:43 -04:00
Andrew Liang 65bf854897 Merge pull request #1296 from quantopian/fix_month_start_rule
BUG: get_first_trading_day_of_month needs to return normalized dt
2016-06-21 12:55:06 -04:00
Andrew Liang 1643bd1db6 BUG: get_first_trading_day_of_month needs to return normalized dt 2016-06-21 12:26:40 -04:00
Andrew Daniels aa36d906c7 Merge pull request #1294 from quantopian/remove-hurricane-sandy-cme
BUG: Removes Hurricane Sandy closings from CME exchange calendar
2016-06-21 11:20:50 -04:00
Andrew Daniels dd38ca9747 BUG: Removes Hurricane Sandy closings from CME exchange calendar
Since the CME calendar was based off of the NYSE calendar, closings for
Hurricane Sandy were included, but shouldn't have been for CME.

This is the explanation we had included prior to the new exchange
calendars:

http://en.wikipedia.org/wiki/Hurricane_sandy

We *do not* add any non-trading days for Hurricane Sandy. Although
trading on CME Group exchanges was disrupted, trading still occurred at
some point on each day. Importantly, the disruptions do not appear to
have affected the expiration dates stipulated in the futures contracts
expiring during this period.

Trading of CME US equity index futures & NYMEX futures was disrupted due
to the hurricane's impact on New York. CME US equity index futures
markets were disrupted on October 29th 2012, but reopened at 5:00pm CT.

The US equity index markets were closed from 8:15am CT on October 30,
both for the trading floor and CME Globex. The trading floor of the
NYMEX was closed on October 30, but all floor-trading products were
available electronically on CME Globex.

Source:
http://investor.cmegroup.com/investor-relations/releasedetail.cfm?ReleaseID=716923

    October 2012
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

Also see:
-- http://www.chicagobusiness.com/article/20121029/NEWS01/121029818/cme-cboe-other-markets-closed-for-hurricane-sandy-about-500-local-flights-scrapped
-- http://money.cnn.com/2012/10/29/investing/hurricane-sandy-stock-markets
2016-06-21 10:31:35 -04:00
Eddie Hebert 6374515109 Merge pull request #1293 from quantopian/remove-munge
MAINT: Remove unused module.
2016-06-21 10:29:24 -04:00
Eddie Hebert 87843e22fe MAINT: Remove unused module.
Remove module, last usage was removed during lazy access pattern
rewrite.
2016-06-21 09:50:00 -04:00
Joe Jevnik c0d08f9c0d TST: Adds wildcard object for assert_equal 2016-06-20 14:20:18 -04:00
Joe Jevnik caebdf7cfc MAINT: shuffle the complex expression checks 2016-06-20 13:35:07 -04:00
Andrew Daniels 46d8a02b14 Merge pull request #1290 from quantopian/fix-data-portal-futures
MAINT: Fixes DataPortal.get_spot_value to correctly handle 'price' field
2016-06-20 12:33:42 -04:00
Andrew Daniels 7ae370b037 MAINT: Fixes DataPortal.get_spot_value to correctly handle 'price' field
Querying for the price field of an equity actually looks at the close
field, so we should do the same for futures. Otherwise `data.can_trade`
and `data.current` of 'price' fail for futures.
2016-06-20 10:34:18 -04:00
Eddie Hebert 9f02f147b0 Merge pull request #1283 from quantopian/custom-paths-for-fixtures
TST: Allow customization of various fixture paths.
2016-06-20 10:08:27 -04:00
dmichalowicz ed8947dfb3 Language tweaks 2016-06-17 18:18:46 -04:00
Joe Jevnik cb67ee425e TST: coverage 2016-06-17 17:59:56 -04:00
Joe Jevnik 1c3ad70431 DOC: docs for checkpoints 2016-06-17 17:59:56 -04:00
Joe Jevnik c8cf5a6761 ENH: add ffill checkpointing to blaze core loader 2016-06-17 17:59:56 -04:00
Eddie Hebert d6793e7a71 TST: Allow customization of various fixture paths.
To support testing configurations which need control over the full path
to the asset, adjustment, and equity bcolz directories; which is
required by some of our internal testing which exercises servers which
coordinate these files via a date slug in the full path.

Also, by allowing customization of the full path, it is now possible to
have the AssetFinder and AdjustmentReader sqlite databases be written to
disk, which is also required for our server testing setup.
2016-06-17 16:13:31 -04:00
Richard Frank 7176bb7f88 Merge pull request #1287 from quantopian/remove_add_history
DOC: Remove add_history
2016-06-17 14:40:33 -04:00
Richard Frank b416f7c287 DOC: Removed inaccurate downloads/day badge 2016-06-17 11:56:05 -04:00
Richard Frank 9b87119fc6 DOC: Removed remaining mentions of add_history
which is no longer necessary and was removed from the api already.
2016-06-17 11:55:24 -04:00
Richard Frank 3d9daf9aaf BLD: Pin conda version on travis too 2016-06-16 16:27:44 -04:00
Richard Frank 68ba35fc0a BLD: Pin conda version
Newer version is breaking the build
2016-06-16 16:10:48 -04:00
Andrew Daniels d0894e9500 Merge pull request #1279 from quantopian/deprecate-trading-calendar
MAINT: Creates deprecation warning for tradingcalendar imports
2016-06-16 13:05:10 -04:00
Andrew Daniels 306839e6e3 MAINT: Creates deprecation warning for tradingcalendar imports
The tradingcalendar module has been replaced by the new exchange
calendars and trading schedules.  Issues a ZiplineDeprecationWarning at
tradingcalendar module scope to be triggered on imports.
2016-06-16 09:40:29 -04:00
dmichalowicz 6b9b9fb8e7 BUG: Fail fast on invalid pipeline columns 2016-06-15 17:46:41 -04:00
Richard Frank 3d7f63f8c1 MAINT: Removed unused ExceptionSource
No longer used since our lazy data access changes.
2016-06-15 10:43:20 -04:00
Andrew Liang 4c2f0e86eb Merge pull request #1275 from quantopian/schedule_func_resilience_2
Schedule function rules refactoring
2016-06-14 14:26:20 -04:00
Andrew Liang ba3ba053cb MAINT: Refactor schedule function rules
Refactor to eliminate unnecessary type coercion. Reduce some code
duplication
2016-06-14 13:55:59 -04:00
Andrew Liang 28b1da443e MAINT: Raise when trying to get a date outside trading calendar
next_scheduled_day and previous_scheduled day should raise if
trying a return a date outside the calendar. Previously it just
returns None, but it should be made consistent with the behavior
of add_scheduled_days
2016-06-13 09:07:16 -04:00
Scott Sanderson c83414e152 Merge pull request #1269 from quantopian/generic-events-loader
Rewrite EventsLoader as a single class rather than a base class
2016-06-10 19:52:03 -04:00
Scott Sanderson bc302beec9 MAINT: Rework event datasets.
- Refactored EventsLoader and BlazeEventsLoader to not require a
  subclass per dataset.  Instead, you now pass a map from columns to
  event fields directly to the EventsLoader constructor.

- Removed a large number of Quantopian-specific datasets and associated
  tests.

- Rewrote the core logic of EventsLoader and BlazeEventsLoader to share
  index calculations across multiple requested columns.

- Fixed a bug where event fields were incorrectly forward-filled when
  null values were present in an event.
2016-06-10 19:22:27 -04:00
Jean Bredeche 5a6b870cd5 Merge pull request #1138 from quantopian/exchange-calendars-v2
ExchangeCalendars and TradingSchedules
2016-06-09 17:21:06 -04:00
Jean Bredeche 97d27cf407 Revert "Merge pull request #1226 from quantopian/schedule_function_resilience"
This reverts commit 6079604483, reversing
changes made to c9b5979f45.
2016-06-09 17:19:46 -04:00
Andrew Liang 6079604483 Merge pull request #1226 from quantopian/schedule_function_resilience
MAINT: Make schedule function rules resilient for no trading day
2016-06-09 15:33:23 -04:00
Jean Bredeche 7da1eae38e Merge pull request #1270 from quantopian/just-kidding-put-old-calendar-back
REV: Restore old tradingcalendar.py
2016-06-09 13:57:12 -04:00
Jean Bredeche 1505c62daf REV: Restore old tradingcalendar.py 2016-06-09 13:56:40 -04:00
Jean Bredeche 4b09715052 ENH: better comments 2016-06-09 13:28:43 -04:00
Andrew Liang 7b82b9a2fd MAINT: Make schedule function rules resilient for no trading day
Make the rules resilient to env.previous_trading_day or
env.next_trading_day being None
2016-06-09 09:53:16 -04:00
Andrew Daniels 60cd4aab91 Use new API in tests/data/bundles/test_core.py 2016-06-08 16:24:36 -04:00