Commit Graph

3474 Commits

Author SHA1 Message Date
Maya Tydykov 195c2fffb6 DOC: update doc.
DOC: update docs.
2016-03-08 17:24:04 -05:00
Maya Tydykov c87293942f TST: remove logging test and move missing sid test.
DOC: add docstring.

TST: reduce test data redundancy.

MAINT: use string constant.
2016-03-08 17:24:04 -05:00
Maya Tydykov ecb493e1a1 MAINT: remove logging. 2016-03-08 17:24:04 -05:00
Maya Tydykov ac82aa7d95 BUG: ignore sids in deltas missing from asset index.
MAINT: use correct debugger.

MAINT: fix set add.

WIP: move sid filtering.

WIP: move filtering logic.

WIP: working test.

TST: clean up test.

STY: fix flake8.

STY: fix flake8.
2016-03-08 17:24:04 -05:00
Maya Tydykov 6976f7e459 # This is a combination of 8 commits.
# The first commit's message is:
BUG: ignore sids in deltas missing from asset index.

# This is the 2nd commit message:

MAINT: use correct debugger.

# This is the 3rd commit message:

MAINT: fix set add.

# This is the 4th commit message:

WIP: move sid filtering.

# This is the 5th commit message:

WIP: move filtering logic.

# This is the 6th commit message:

WIP: working test.

# This is the 7th commit message:

TST: clean up test.

# This is the 8th commit message:

STY: fix flake8.
2016-03-08 17:24:04 -05:00
Eddie Hebert 37d341bb95 BUG: Truncate treasury curves to env min date. 2016-03-08 17:14:28 -05:00
Eddie Hebert 102f08535e Merge pull request #1034 from quantopian/add-floor-to-trading-env
ENH: Add min date to TradingEnvironment.
2016-03-08 15:08:25 -05:00
Scott Sanderson 1b5bc20e38 Merge pull request #1035 from quantopian/refactor-atomic
MAINT: Remove notion of "atomic" pipeline terms.
2016-03-08 14:50:24 -05:00
Eddie Hebert 3208bfdbb6 ENH: Add min date to TradingEnvironment.
Allow creation of TradingEnvironment to specify a minimum date, so that
trading days, market opens, etc. can trimmed to a range more relevant to
the backtest.

This changes is with an eye towards storing all market minutes in the
trading environment, where storing values for much more than the
simulation range starts to become more costly.
2016-03-08 14:40:42 -05:00
Scott Sanderson 535d05e714 MAINT: Remove notion of "atomic" pipeline terms.
Replace it by distinguishing between "Loadable" and "Computable".

This is useful because it's now  possible to write computable terms that
don't require  any inputs  (e.g. an `Always`  filter or  an `Everything`
classifier).
2016-03-08 13:49:45 -05:00
Maya Tydykov 80cc9f4896 Merge pull request #1027 from quantopian/add_buyback_auth_to_factors
MAINT: add buyback auth to factors init.
2016-03-08 13:32:30 -05:00
Maya Tydykov 548e457f50 MAINT: alphabetize. 2016-03-08 12:28:16 -05:00
Maya Tydykov eb8fed501b MAINT: add buyback auth to factors init. 2016-03-08 12:28:16 -05:00
Scott Sanderson dd3b3f3afb Merge pull request #1026 from quantopian/pipeline-generic-isempty
ENH: Add `isnull` and `notnull` methods to Factor.
2016-03-07 18:26:42 -05:00
Scott Sanderson abe559c764 DOC: Update NullFilter docstring. 2016-03-07 16:41:50 -05:00
Scott Sanderson f635a14289 ENH: Add isnull and notnull methods to Factor. 2016-03-07 16:19:08 -05:00
Scott Sanderson e810f26097 ENH: Add utilities for checking types generically. 2016-03-07 16:18:33 -05:00
Scott Sanderson cf3fb143fd DOC: Fix typo in docstring. 2016-03-07 16:17:50 -05:00
Richard Frank ba42e6d8b9 BLD: Pin libgfortran to 1.0, since conda scipy is compiled against it
Something was pulling in the latest (3.0), and then we'd fail to find
the 1.0 shared object at import time.
2016-03-04 17:31:21 -05:00
Maya Tydykov c1830584f9 Merge pull request #1022 from quantopian/better_buybackauth_names
MAINT: rename variables to simplify.
2016-03-03 16:21:48 -05:00
Maya Tydykov 0010828893 DOC: update whatsnew. 2016-03-03 15:27:16 -05:00
Maya Tydykov 810862eef4 MAINT: rename variables to simplify. 2016-03-03 15:27:16 -05:00
Scott Sanderson 214b3b6506 Merge pull request #1015 from quantopian/docs-updates-redux
Docs updates redux
2016-03-02 14:52:55 -05:00
Scott Sanderson 14360ca4b8 DOC: Minor docstring tweaks. 2016-03-02 12:25:23 -05:00
Scott Sanderson ec3c370c11 DOC: Update docs on BoundColumn. 2016-03-02 12:18:36 -05:00
Jonathan Kamens f5d6060bb4 MAINT: Upgrade six, futures, requests-futures, piprot versions
Upgrade six 1.9.0 -> 1.10.0 in requirements.txt, and futures 3.0.3 ->
3.0.5, requests-futures 0.9.5 -> 0.9.7, and piprot 0.9.1 -> 0.9.6 in
requirements_dev.txt.
2016-02-27 11:46:51 -05:00
Jonathan Kamens 369a24aaec MAINT: Remove obsolete comment from requirements.txt
There was a comment in requirements.txt warning not to use
python-dateutil 2.4.0, which was necessary when we were using 2.3.x
and 2.4.0 was broken for us, but now we're using 2.4.2 which is fixed,
so the comment is no longer needed.
2016-02-27 11:45:44 -05:00
Joe Jevnik 5e7d412141 Merge pull request #1016 from quantopian/test-cleanup
TST: use rel imports from tests
2016-02-26 21:02:22 -05:00
Joe Jevnik 79e7c84a40 TST: use rel imports from tests 2016-02-26 20:22:02 -05:00
Richard Frank bb70d16b92 BLD: Fixed detection of windows conda build
and fixed error during string formatting
2016-02-26 12:04:53 -05:00
Maya Tydykov c53ed5b384 Merge pull request #990 from quantopian/buyback_auth_in_pipeline
Buyback auth in pipeline
2016-02-26 10:13:19 -05:00
Maya Tydykov 18d838be87 MAINT: modify coersion logic.
MAINT: make expected_cols class attributes.

MAINT: make concrete_loader a class attribute.

MAINT: drop sid column before creating loader.

TST: add method to fill df with event cases.

TST: move common case df into test_events.py.

TST: improve tests and fix error message assertions.

STY: fix whitespace.

DOC: update docs.

STY: fix style.

MAINT: clean up

STY: fix indentation.

MAINT: use different assertion method to check error message for python3.4 compatibility.
2016-02-26 09:51:58 -05:00
Maya Tydykov 5b37af6e04 TST: enhance test; add more common data.
STY: fixes for PEP8.
2016-02-25 17:33:46 -05:00
Maya Tydykov e257dc1da9 MAINT: refactor constants to common file.
TST: refactor constants and clarify comments.

TST: clean up/extract constants in tests.

MAINT: add/modify constants.

MAINT: remove obsolete and alphabetize.

MAINT: clean up.

MAINT: modify constants to have named params.

MAINT: extract constants.

STY: fix indentation.

MAINT: refactor common part out of buyback_auth.

MAINT: refactor earnings test logic.
2016-02-25 17:33:45 -05:00
Maya Tydykov ae922bf3ee MAINT: modify next_date_frame and prev_date_frame to mirror previous_value.
MAINT: clean up and improve docs.

BUG: fix imports.

MAINT: refactor test.

MAINT: change class name.

MAINT: remove error since won't be reached.

TST: improve and expand tests.

MAINT: change class name.

MAINT: change class name.

MAINT: extract string constants and remove error that won't be reached.

STY: fix line length.

MAINT: undo name change.
2016-02-25 17:33:44 -05:00
Maya Tydykov 2fe126135c MAINT: make concrete_loader a property.
concrete_loader should be the same for each instance
of a Blaze loader.

MAINT: make expected_cols a property.

expected_cols should be the same for each instance
of a type of loader.
2016-02-25 17:33:44 -05:00
Maya Tydykov 8ceff892c5 BUG: specify UTC and no name-checking.
DOC: fix doc.

MAINT: revert to using getitem.
2016-02-25 17:33:43 -05:00
Maya Tydykov 7ddf18b407 MAINT: use column's missing value.
STY: fix flake8 failures.

MAINT: fixes for compatibility with py2.

MAINT: fix import error.

MAINT: use dict.items() for compatibility with py3.
2016-02-25 17:33:42 -05:00
Maya Tydykov 7100e60474 MAINT: accept more data structures, verify, and select loader dynamically.
MAINT: add fields based on changes to events loader.

MAINT: modify based on expectations of events loader.

MAINT: modify args.

TST: clean up and clarify df access.

TST: fix bugs in test that didn't properly split datasets' data.

MAINT: fix merge error.
2016-02-25 17:33:41 -05:00
Maya Tydykov a877fcfdb6 TST: finish blaze tests for buyback_auth.
DOC: update docs.

MAINT: use correct names.

BUG: explicitly pass all kwargs.

DOC: update docs.

STY: fix whitespace.

TST: rename vars and update docstring.

TST: fix indentation.

MAINT: fix comments.
2016-02-25 17:30:24 -05:00
Maya Tydykov 3142fa516f ENH: add buyback_auth loader.
WIP: finish refactoring blaze events loader.

WIP: tests passing for earnings.

BUG: pass all kwargs explicitly for BlazeEventsCalendarLoader.

If this is not done, resources are not bound correctly.

MAINT: refactor for buyback_auth.
2016-02-25 17:30:21 -05:00
Maya Tydykov 534f820a91 ENH: add buyback_auth dataset. 2016-02-25 17:19:19 -05:00
Maya Tydykov 54e36bc94f MAINT: create abstract events class. 2016-02-25 17:19:19 -05:00
Richard Frank 51e39a7f8a Merge pull request #1011 from quantopian/auto-close-docs
DOC: update whatsnew for equity auto closes
2016-02-25 15:09:06 -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 88e4758648 DEV: Added script for building all versions of zipline conda package 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