6093 Commits

Author SHA1 Message Date
Scott Sanderson cbd4ea36bc STY: No need for these to be vertical. 2016-05-13 14:31:33 -04:00
Scott Sanderson e1889546de DOC: Link directly to the `re` module. 2016-05-12 23:36:58 -04:00
Joe Jevnik 19c87fd871 Merge pull request #1188 from quantopian/api-docstrings
api documentation
2016-05-12 22:42:48 -04:00
Joe Jevnik c128b69a91 STY: get Scott to stop yelling at me 2016-05-12 22:15:32 -04:00
Joe Jevnik 8622993358 DOC: update docs based on Rich's feedback 2016-05-12 17:07:02 -04:00
Joe Jevnik 78db90a858 STY: flake8 2016-05-12 17:01:17 -04:00
Joe Jevnik a345e6f3f5 TST: Clean up metaclass usage in fixtures 2016-05-12 17:00:51 -04:00
Joe Jevnik 9b76731143 ENH: adds with_metaclasses and tests for metautils 2016-05-12 15:58:19 -04:00
Richard Frank 8fdbfb828b DOC: Added zipline logo to README 2016-05-12 12:03:08 -04:00
Maya Tydykov 3ef05522ed Merge pull request #1185 from quantopian/redesign-buyback-auth
Redesign buyback auth
2016-05-12 11:30:02 -04:00
Maya Tydykov 6b60e447a0 MAINT: incorporate string support
STY: remove unused imports

MAINT: change dtype to object for compatibility with python3

MAINT: rename pipeline columns and constants for clarity

MAINT: rename column
2016-05-12 10:50:31 -04:00
Joe Jevnik 2297ace20c ENH: Adds BollingerBands factor. 2016-05-11 21:41:55 -04:00
Joe Jevnik f494d6f0d1 BUG: Fix check that pipeline argument is hashable.
Adds test coverage for the caes where it is not hashable.
2016-05-11 21:37:12 -04:00
Maya Tydykov 3d521561f5 TST: update tests to handle new buyback auth design
MAINT: add back cash amount constant

BUG: fix field names

BUG: pass remaining args

WIP: make buyback units parameterized so that user can choose

BUG: fix filtering based on units parameter

WIP: test for undesired units

Revert "WIP: make buyback units parameterized so that user can choose"

This reverts commit df3b838d525bff5026eba1d81865c6645d534c88.
2016-05-11 16:24:32 -04:00
Maya Tydykov 24019880af MAINT: redesign buyback auth datasets and factor 2016-05-11 16:24:31 -04:00
Scott Sanderson 47da15592c Merge pull request #1196 from quantopian/cli-improvements
Cli improvements
2016-05-11 16:10:52 -04:00
Scott Sanderson a46787711c DOC: Spell 'because' correctly. 2016-05-11 14:57:06 -04:00
Scott Sanderson 7dbabc013e BUG: Use the URL actually passed.
And move constants closer to where they're used.
2016-05-11 14:54:48 -04:00
Scott Sanderson 3a2c0e4ec8 DOC: Remove old comment. 2016-05-11 14:54:36 -04:00
Scott Sanderson 4ab8ea7c29 STY: flake8. 2016-05-11 14:53:24 -04:00
Scott Sanderson 65ac5c2faa Merge pull request #1195 from quantopian/test-string-groupby
String Classifier Cleanup
2016-05-10 20:54:24 -04:00
Scott Sanderson a642ce3ae4 ENH: Add progressbar for quantopian-quandl download. 2016-05-10 20:50:54 -04:00
Scott Sanderson fc74fdb0a7 BUG: Don't print a tuple on bundles in py2. 2016-05-10 20:48:33 -04:00
Jean Bredeche b8c4bd32a2 Merge pull request #1193 from quantopian/really-remove-orders
DEV: pull remove-open-orders logic into its own method
2016-05-10 20:37:05 -04:00
Jean Bredeche 83d70f4a70 DEV: pull remove-open-orders logic into its own method
And test it.
2016-05-10 20:14:44 -04:00
Scott Sanderson 8b1136d9d5 ENH: Validate missing_values at term construction.
Finds bugs in several bad tests that were constructing invalid terms.
2016-05-10 19:43:56 -04:00
Scott Sanderson f7e9281b14 BUG: Fix groupby with string columns.
The previous algorithm assumed that the group labels were integers. It
produced nonsense with LabelArrays (though sadly didn't crash because
numpy promotes None and void to object).
2016-05-10 16:57:59 -04:00
Scott Sanderson 2431aaefb5 BUG: Fix bad error message for element_of.
It referred to the wrong method name (`is_element`).
2016-05-10 16:57:59 -04:00
Jean Bredeche 0ecf3a07d6 Merge pull request #1192 from quantopian/assets-from-source-needs-to-be-a-list
BUG: Set _assets_from_source as a list.
2016-05-10 11:01:40 -04:00
Joe Jevnik e4934cca6f Merge pull request #1191 from quantopian/almost-correct
BUG: fix inverted splits in quandl data
2016-05-09 15:54:29 -04:00
Scott Sanderson 98a26bbcc6 BUG: Set _assets_from_source as a list. 2016-05-09 15:53:20 -04:00
Joe Jevnik 55f1548160 BUG: fix inverted splits in quandl data 2016-05-09 14:00:35 -04:00
Jean Bredeche 10daf9efd6 Merge pull request #1190 from quantopian/cythonize-some-more
PERF: takes ~14% off the time it takes to initialize a MinuteSimulationClock
2016-05-09 13:52:08 -04:00
Jean Bredeche fe5a2a888a PERF: takes ~14% off the time it takes to initialize a MinuteSimulationClock
on my machine, ~350ms -> ~300ms

also, clarifies the public API for MinuteSimulationClock (now, only
__iter__ is exposed)
2016-05-09 10:18:41 -04:00
Joe Jevnik 87c20373b4 DOC: document that docs should be built with py3 2016-05-06 15:32:48 -04:00
Joe Jevnik d888c4faaa DOC: update docs for api functions 2016-05-06 15:25:30 -04:00
Joe Jevnik 0562179060 Merge pull request #1178 from quantopian/quantopian-quandl
ENH: Adds quantopian-quandl bundle as new default.
2016-05-06 12:53:07 -04:00
Scott Sanderson f618cc94a2 Merge pull request #1187 from quantopian/test-daily-bar-reader-a-bit
BUG: Fix multiple bugs in PanelDailyBarReader.
2016-05-06 11:42:59 -04:00
Jean Bredeche 0687584c21 Merge pull request #1176 from quantopian/eod_cancel_refactor
BUG: DAY_END action not emitted during minute emission
2016-05-06 11:01:04 -04:00
Scott Sanderson 3395b33f1e BUG: Fix multiple bugs in PanelDailyBarReader.
- Return a value from `verify_all_indices_unique` so that `panel` isn't
  unconditionally `None` in `PanelDailyBarReader`.

- Fix a bug where we always set the volume of every asset to `1e9`.

- Add minimal suite of tests for get_spot_value, which catch both of the
  above.

NOTE: There are still several issues with `PanelDailyBarReader`.  The
docstring for `get_spot_value` claims that it will return -1 on days
where an asset didn't trade, which isn't the case.  It also claims that
it will raise `NoDataOnDate` when a request is made outside the panel
range, but it just raises a KeyError.  We also still have no coverage
for `load_raw_arrays`, so it's likely that there are more bugs lurking.
2016-05-06 10:59:14 -04:00
Andrew Liang 7641247b41 BUG: DAY_END action not emitted during minute emission
Refactor AlgorithmSimulator so that DAY_END is emitted for both
minute and daily emission, and that handling of end-of-minute
and end-of-day are separated
2016-05-06 10:25:44 -04:00
Jean Bredeche a068eb374a Merge pull request #1182 from quantopian/no-more-dups
DEV: Ensure there are no duplicates in the data passed into TradingAlgorithm.run
2016-05-06 09:55:23 -04:00
Jean Bredeche 7a65ae3e78 Merge pull request #1184 from quantopian/no-more-dups-2-electric-boogaloo
TEST/MAINT: Refactor unique axis verification.
2016-05-06 09:22:12 -04:00
Joe Jevnik 120d60fe27 STY: unused import 2016-05-05 18:23:03 -04:00
Joe Jevnik f7a522e3c9 ENH: update --show-progess message in the quantopian-quandl loader 2016-05-05 18:22:14 -04:00
Joe Jevnik a26802efd2 DOC: Update docs for bundles and fix the whatsnew 2016-05-05 18:22:14 -04:00
Joe Jevnik d819721d96 ENH: use more human readable format for bundle ingest directories
We are now using isoformats with ':' replaced with ';'. We cannot use a
normal isoformat because windows does not allow files or directories
with ':' in the name.
2016-05-05 18:22:13 -04:00
Joe Jevnik 0b3a35891e ENH: fix the quality of life issues in the CLI
Fixes the issues presented in #1181 by @ssanderson around the new
command line interface.
2016-05-05 18:22:13 -04:00
Joe Jevnik 89542e33bd ENH: Adds quantopian-quandl bundle as new default.
This data bundle will use the quantopian mirror of the quandl WIKI data
instead of downloading from quandl directly. This dramatically improves
the speed because we do not pay the rate limiting for quandl and we can
send the data in the format zipline expects.
2016-05-05 18:22:13 -04:00
Scott Sanderson bd0f138081 TEST/MAINT: Refactor unique axis verification.
Break it into a standalone function that handles any pandas type.
2016-05-05 14:20:47 -04:00