Commit Graph

5611 Commits

Author SHA1 Message Date
Andrew Daniels c89e957905 Merge pull request #1308 from quantopian/fix-pipeline-calendar
BUG: Don't use calendar from daily bars in USEquityPricingLoader
2016-06-28 14:27:33 -04:00
Andrew Daniels 5ac66aa19e BUG: Don't use calendar from daily bars in USEquityPricingLoader
This calendar only has up to the last trading day, use
default_nyse_schedule instead.
2016-06-28 13:38:17 -04:00
Andrew Daniels 43f4c3a2d3 Merge pull request #1306 from quantopian/disable-tradingcalendar-deprecation
MAINT: Disable deprecation warning for tradingcalendar
2016-06-28 11:02:22 -04:00
Andrew Daniels 4fd444dbb2 MAINT: Disable deprecation warning for tradingcalendar
The new calendar API is currently in flux, so disabling the deprecation
warning for tradingcalendar. To be re-enabled once the new API is
stabilized.
2016-06-28 10:06:11 -04:00
Eddie Hebert a4298a9c72 Merge pull request #1304 from quantopian/remove-unused-data-source-code
Remove unused data source code
2016-06-27 13:41:47 -04:00
Eddie Hebert a721380664 MAINT: Remove unused test factory functions.
`create_commission` and `create_minutely_trade_source` are no longer
used.
2016-06-27 13:06:41 -04:00
Eddie Hebert ca58632815 MAINT: Remove DataSource and derived classes.
The `DataSource` class and other classes derived from it are no longer
used. Instead `DataPortal` and various `MinuteBarReader` and
`DailyBarReaders` should be used.
2016-06-27 13:06:41 -04:00
Joe Jevnik 28055ed36d Merge pull request #1303 from degtyarevalexey/master
DOC: Fix typo in command line to ingest quandl
2016-06-26 23:05:40 -04:00
Alexey Degtyarev 84afb997d3 DOC: Fix typo in command line to ingest quandl
Usage: zipline ingest [OPTIONS]

  Ingest the data for the given bundle.

Options:
  -b, --bundle BUNDLE-NAME        The data bundle to ingest.  [default:
                                  quantopian-quandl]

  <...>
2016-06-27 01:55:21 +03:00
Maya Tydykov c26e12bad8 Merge pull request #1288 from quantopian/pandas-tz-normalize-bug-workaround
Pandas tz normalize bug workaround
2016-06-23 14:20:35 -04:00
Scott Sanderson 07b84f87fb PERF: Speed up test_events.
Use arrays in more places, and use permutations of indexers instead of
permutations of the values.

MAINT: add testing of boundary conditions

MAINT: use check_arrays to work with both pandas versions
2016-06-23 13:54:37 -04:00
Maya Tydykov 321e6f719f TST: expand tests
DOC: add comment to workaround line
2016-06-23 12:14:24 -04:00
Maya Tydykov 9395a469f0 BUG: change timestamp normalization to account for pandas bug
BUG: revert to old normalization algo with extra normalization
2016-06-23 12:14:22 -04:00
David Michalowicz abd10d0ca2 Merge pull request #1267 from quantopian/pipeline-single-columns
Pipeline single column capabilities
2016-06-23 11:18:58 -04:00
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