Commit Graph

3291 Commits

Author SHA1 Message Date
llllllllll 5e4b8b8f8f TST: tests for new forward fill 2016-01-21 12:43:02 -05:00
llllllllll 517ad7a5f1 TST: Adds tests for running multiple columns in one query 2016-01-21 12:43:02 -05:00
llllllllll 97298d1ad4 ENH: upgrade ffill logic to look back as far as needed 2016-01-21 12:43:02 -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
Richard Frank 2eeb6e78f6 BUG: Enable comparison of an Asset to an int64 on 32-bit python
We use a number of mappings keyed by int64, which otherwise raised
KeyErrors for Assets.
2016-01-21 11:47:29 -05:00
James Kirk 2cb3a7235e Merge pull request #890 from grundgruen/future_chain_order
BUG: orders future chain by min of notice and expiry
2016-01-21 11:18:57 -05:00
Eddie Hebert 603a345e2d BUG: Allow writing on first day. 2016-01-21 11:10:57 -05:00
Eddie Hebert 3a8be8c624 BUG: Need to be able to append to minute ctable. 2016-01-21 11:10:07 -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
Richard Frank daf05c6b59 BUG: Ensure that current_sids() returns Assets instead of identifiers
Also batch lookup sids in algo.run
2016-01-21 10:32:07 -05:00
Joe Jevnik ab573731d9 BLD: make the travis build closer to a normal install 2016-01-20 18:14:07 -05:00
James Kirk b16e2a7a07 Merge pull request #950 from quantopian/account-value-bug
BUG: Account object's total_position_value is incorrect
2016-01-20 09:38:13 -05:00
jfkirk 85099c3bd0 DOC: whatsnew entry for total_positions_value bug fix 2016-01-19 16:11:22 -05:00
jfkirk 1365b916c0 TST: Adds tests for the perf tracker with futures 2016-01-19 16:11:22 -05:00
jfkirk b8b7049f39 BUG: Fixes incorrect value assignment in perf period 2016-01-19 16:11:22 -05:00
Joe Jevnik 3b76981270 Merge pull request #846 from grundgruen/data_test
TST: tests removing of expired data and removes ffill in DataPanelSource
2016-01-19 13:05:15 -05:00
warren-oneill a963270471 BUG: orders future chain by min of notice an expiry 2016-01-18 12:20:58 +01: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 e80eb31833 BLD: pin ta-lib while working on conda packages 2016-01-15 13:48:22 -05:00
Joe Jevnik 7115b85cd3 Merge pull request #947 from quantopian/data-query-time
allows users to specify the cutoff time for data query in blaze loaders
2016-01-14 14:11:07 -05:00
Joe Jevnik a3dbf7590e TST: doctest failure 2016-01-13 16:36:20 -05:00
Joe Jevnik 6280614a69 DOC: whatsnew 2016-01-13 16:36:20 -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 5351b60a4c ENH: adds optionally for preprocessors 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 dad2bb201c DOC: remove scrutinizer badge 2016-01-12 18:29:47 -05:00
Scott Sanderson 168857f36f Merge pull request #948 from quantopian/add-coerce
Add coerce
2016-01-12 18:13:40 -05:00
Scott Sanderson 843280133d DOC: Add whatsnew. 2016-01-12 17:51:29 -05:00
Scott Sanderson b6175de5f1 DOC/TEST: Add doctest and docs for coerce kwargs. 2016-01-12 17:51:13 -05:00
Scott Sanderson ec0abf1822 MAINT: Use coerce_string in BcolzDailyBarReader. 2016-01-12 17:39:44 -05:00
Scott Sanderson c8b80dddb0 BUG: Handle unicode adjustments path in py2.
In Python 2, passing unicode to SQLiteAdjustmentReader would fail to
coerce.
2016-01-12 17:39:36 -05:00
Scott Sanderson 43b6344d5f ENH: Add `coerce` preprocessor. 2016-01-12 17:36:36 -05:00
Joe Jevnik d3d362f56f Merge pull request #940 from quantopian/generalize-databazaar-stuff
MAINT: Move code to shared modules
2016-01-08 17:01:39 -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 fb6d1ea3d1 MAINT: move some helpers to test_utils 2016-01-08 13:11:31 -05:00
Joe Jevnik a2d1fedffd ENH: Adds classlazyval for computed values on a class 2016-01-08 13:11:31 -05:00
Jonathan Kamens 5c3ca1be83 Merge pull request #944 from quantopian/upgrade_requests_version
MAINT: Upgrade requests 2.7.0 -> 2.9.1
2016-01-07 14:25:42 -05:00
Jonathan Kamens 2ee40db0ec MAINT: Upgrade requests 2.7.0 -> 2.9.1 2016-01-06 22:33:33 -05:00
Richard Frank 18db1904bc BUG: Need to format message, not ValueError instance 2016-01-06 16:02:18 -05:00
Richard Frank 1499051df7 BUG: TypeError message had only str of numpy.dtype class
We want to use the dtype of the data that was passed in.
2016-01-06 15:29:58 -05:00
Eddie Hebert 80a553d1c0 Merge pull request #938 from quantopian/futures-payouts-without-every-bar-update
MAINT: Futures cash adjustment on change and calc.
2016-01-06 10:25:29 -05:00
Eddie Hebert 1362f155c6 BUG: Make payout affect ending_cash.
The payout should be reflected in ending cash, not just the total used
for pnl.
2016-01-06 10:17:37 -05:00
Richard Frank aa0dae6292 DOC: Added whatsnew for conda build 2016-01-05 21:30:43 -05:00