dmichalowicz
a8486c5f6e
ENH: Factor-to-factor correlations/regressions
2016-07-19 11:16:55 -04:00
Scott Sanderson and GitHub
e0f6abda2e
Merge pull request #1328 from quantopian/sample-event-utils-test
...
PERF: Speed up event utils test case.
2016-07-15 09:53:02 -04:00
Scott Sanderson
67f76e4d67
PERF: Speed up event utils test case.
...
Just take a sample of all 5000 permutations of 7 dates.
2016-07-14 17:38:58 -04:00
Samuel Woo and Joe Jevnik
5756f2932d
ENH: Adds LinearWeightedMovingAverage factor
2016-07-14 15:10:42 -04:00
Jean Bredeche and GitHub
e22108b7ef
Merge pull request #1312 from quantopian/24-5-backtesting
...
Re-implemented the calendar API.
2016-07-14 10:05:18 -04:00
Richard Frank
c9b0e4050d
TST: Added more test cases for RateOfChangePercentage
2016-07-13 19:48:18 -04:00
Elizaveta239 and Richard Frank
8a32c2b7ce
ENH: Add Rate of change Percentage indicator
2016-07-13 18:07:20 -04:00
Joe Jevnik
0f1c08024a
ENH: Adds the ichimoku cloud factor
2016-07-12 18:49:24 -04:00
Joe Jevnik
958d455a7a
ENH: Support default params for terms
2016-07-12 18:49:24 -04:00
Jean Bredeche
6fb4923cc7
Re-implemented the Calendar API.
...
Instead of having separate ExchangeCalendar and TradingSchedule objects, we
now just have TradingCalendar. The TradingCalendar keeps track of each
session (defined as a contiguous set of minutes between an open and a close).
It's also responsible for handling the grouping logic of any given minute
to its containing session, or the next/previous session if it's not a market
minute for the given calendar.
2016-07-12 13:13:50 -04:00
dmichalowicz
d8e9fa91bd
Loader return column vector for no sids case
2016-07-01 12:18:32 -04:00
David Michalowicz and GitHub
d6c1c5fce9
Merge pull request #1309 from nathanwolfe/adv-fix
...
BUG: Correct AverageDollarVolume NaN handling
2016-06-30 14:04:43 -04:00
Eddie Hebert
51eda06323
MAINT: Add equity to naming of bar data classes.
...
In preparation of adding futures, add equity to the names of both the
classes and methods for writing bcolz data. Futures data will use a
different minutes per day with a separate reader. This change will allow
both equity and futures fixtures to be side by side.
Also, break out the method which generates the dataframes and trading
days member into fixtures (`EquityMinuteBarData` and
`EquityDailyBarData`) on which the `*BarReader` fixture depends. This
fixture is separated out to enable reader/writers in different formats
to use the same data setup. (There is internal code which needs to write
minute and daily bar data in a database format.)
2016-06-30 08:21:42 -04:00
Nathan Wolfe
985e6bafee
DOC: Add comment explaining ADV NaN test expected result calculation.
2016-06-29 11:34:21 -04:00
Nathan Wolfe
e67b5e5516
TST: Change AverageDollarVolume test to check case of partial NaNs
2016-06-29 11:16:39 -04:00
Nathan Wolfe
ebbcca73e8
TST: Add NaN cases to AverageDollarVolume factor test.
2016-06-29 10:12:35 -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
Scott Sanderson and Maya Tydykov
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
dmichalowicz
393f82e81e
ENH: Add single-column input/output capabilities to pipeline terms
2016-06-23 10:24:09 -04:00
Scott Sanderson and GitHub
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 and GitHub
69b6cff964
Merge pull request #1289 from quantopian/wildcard
...
wildcard object and doctests
2016-06-22 18:09:57 -04:00
Joe Jevnik
5925107052
TST: fix doctests to actually run
2016-06-21 15:07:03 -04:00
Joe Jevnik
cb266b983a
TST: more test for checkpoints
2016-06-21 13:20:52 -04:00
Joe Jevnik
caebdf7cfc
MAINT: shuffle the complex expression checks
2016-06-20 13:35:07 -04:00
Joe Jevnik
cb67ee425e
TST: coverage
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
dmichalowicz
6b9b9fb8e7
BUG: Fail fast on invalid pipeline columns
2016-06-15 17:46:41 -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
jfkirk and Jean Bredeche
75e0e4723d
TST: Refactors more tests to use WithTradingSchedule
2016-06-08 13:34:20 -04:00
jfkirk and Jean Bredeche
d9fc514fa8
TST: Adds TradingSchedule test fixture
2016-06-08 13:34:20 -04:00
jfkirk and Jean Bredeche
26742dda67
MAINT: Removes obsolete tradingcalendar module
2016-06-08 13:34:19 -04:00
jfkirk and Jean Bredeche
4b7390ac81
WIP: Refactors tests to use TradingSchedule
2016-06-08 13:34:19 -04:00
jfkirk and Jean Bredeche
c8304e8601
ENH: Adds ExchangeCalendar, TradingSchedule, and implementations
...
Conflicts:
tests/data/test_minute_bars.py
tests/data/test_us_equity_pricing.py
tests/finance/test_slippage.py
tests/pipeline/test_engine.py
tests/pipeline/test_us_equity_pricing_loader.py
tests/serialization_cases.py
tests/test_algorithm.py
tests/test_assets.py
tests/test_bar_data.py
tests/test_benchmark.py
tests/test_exception_handling.py
tests/test_fetcher.py
tests/test_finance.py
tests/test_history.py
tests/test_perf_tracking.py
tests/test_security_list.py
tests/utils/test_events.py
zipline/algorithm.py
zipline/data/data_portal.py
zipline/data/us_equity_loader.py
zipline/errors.py
zipline/finance/trading.py
zipline/testing/core.py
zipline/utils/events.py
2016-06-08 13:34:18 -04:00
Jonny Elliott and Scott Sanderson
6979ae8d6a
ENH: fast stochastic oscillator added ( #1255 )
...
ENH: fast stochastic oscillator added.
A fast stochastic oscillator has been added to the technical
factors. This is the simplest of the stochastic oscillators,
and can be used to build the others.
Tests have been added that compare against the values expected
from that of ta-lib STOCHF.
FastStochasticOscillator is marked as window_safe=True to allow taking
moving averages for smoothing.
2016-06-06 17:06:34 -04:00
Eric Batalden
696e81b911
ENH: Add Aroon indicator.
2016-06-03 16:28:13 -07:00
dmichalowicz
86486803b6
BUG: custom factor outputs naming collisions
2016-05-25 15:41:16 -04:00
Maya Tydykov
e5039a43b0
TST: add tests to ensure no forward filling of non-missing values
...
STY: fix indentation
DOC: add docs to clarify test input/output
2016-05-23 16:48:52 -04:00
Maya Tydykov
c0eb798cc6
TST: modify test class to use WithAssetFinder fixture.
...
BUG: assign result to var
TST: remove obsolete assertion
STY: fix line length
2016-05-23 15:53:55 -04:00
Maya Tydykov
c94f3d0c9b
BUG: fix replacement of NaN with None
...
TST: finish test with expected data
STY: alphabetize imports
MAINT: simplify condition - remove unnecessary statement
2016-05-23 15:53:55 -04:00
Maya Tydykov
8e630bff77
TST: remove obsolete test and update test
2016-05-23 15:53:55 -04:00
Maya Tydykov
751a08a8a1
MAINT: move constants to appropriate files
2016-05-20 10:47:56 -04:00
Maya Tydykov
3d0764a50c
ENH: add dividend type column
...
BUG: add back constant
2016-05-20 10:47:56 -04:00
Maya Tydykov
8a3b82c536
ENH: add column for currency type
2016-05-20 10:47:55 -04:00
Maya Tydykov
18d1577d56
MAINT: incorporate string support
2016-05-20 10:47:55 -04:00
Scott Sanderson
65de1215e0
Merge pull request #1204 from quantopian/tell-me-what-my-choices-were
...
Tell me what my choices were
2016-05-19 18:52:04 -04:00
dmichalowicz
d57872f2be
TST: Test correlation/regression factors with nonexistent asset
2016-05-18 15:11:12 -04:00
dmichalowicz
1ec0bced6d
ENH: Add builtin factors for correlation and regression
2016-05-18 15:11:12 -04:00
Scott Sanderson
4a513360b6
ENH: Include choices in no-output-found errormsg.
2016-05-17 17:51:24 -04:00