|
| 1 | +Release 1.2.0 |
| 2 | +------------- |
| 3 | + |
| 4 | +:Release: 1.2.0 |
| 5 | +:Date: TBD |
| 6 | + |
| 7 | +Extensible Risk and Performance Metrics (:issue:`2081`) |
| 8 | +``````````````````````````````````````````````````````` |
| 9 | + |
| 10 | +The risk and performance metrics are summarizing values calculated by Zipline |
| 11 | +when running a simulation, for example: returns or Sharpe ratio. 1.1.2 |
| 12 | +introduces a new API for registering custom risk and performance metrics defined |
| 13 | +by the user. We have also made it possible to run a backtest without computing |
| 14 | +any metrics to improve the feedback cycle when debugging an algorithm. |
| 15 | + |
| 16 | +For more information, see :ref:`metrics`. |
| 17 | + |
| 18 | +Docs, Trading Calendars, and Benchmarks |
| 19 | +``````````````````````````````````````` |
| 20 | +Zipline now defaults to using the ``quandl`` bundle, which you'll need an API Key for, and can find information about in the Data Bundles documentation. |
| 21 | + |
| 22 | +We've added many Tutorial & Documentations updates, including information on how to create your own ``TradingCalendar``, pass it to your algorithm via the Zipline CLI, and how to use custom csv data using the ``csvdir`` bundle. |
| 23 | + |
| 24 | +Zipline is no longer being tested and packaged for Python 3.4. |
| 25 | + |
| 26 | +Zipline now requests data for SPY, the default benchmark used for Zipline backtests, using the `IEX Trading <https://iextrading.com>`__ API, and no longer uses ``pandas-datareader``. You can run a backtest up to 5 years from the current day using this data. |
| 27 | + |
| 28 | +Enhancements |
| 29 | +~~~~~~~~~~~~ |
| 30 | + |
| 31 | +- Grow minute file cache to 1550 by default (:issue:`1906`) |
| 32 | +- Change default commission to .001 (:issue:`1946`) |
| 33 | +- Enable the ability to compute multiple pipelines (:issue:`1974`) |
| 34 | +- Allow users to switch between calendars (:issue:`1800`) |
| 35 | +- New filter ``NoMissingValues`` (:issue:`1969`) |
| 36 | +- Fail better on ``AssetFinder(nonexistent_path)`` (:issue:`2000`) |
| 37 | +- Implement csvdir bundle (:issue:`1860`) |
| 38 | +- Update quandl_bundle to use Quandl API v3 (:issue:`1990`) |
| 39 | +- Add ``FixedBasisPointsSlippage`` slippage model (:issue:`2047`) |
| 40 | +- Create MinLeverage control (:issue:`2064`) |
| 41 | + |
| 42 | +Experimental Features |
| 43 | +~~~~~~~~~~~~~~~~~~~~~ |
| 44 | + |
| 45 | +.. warning:: |
| 46 | + |
| 47 | + Experimental features are subject to change. |
| 48 | + |
| 49 | +None |
| 50 | + |
| 51 | +Bug Fixes |
| 52 | +~~~~~~~~~ |
| 53 | + |
| 54 | +- ``history`` calls with a frequency of ``1d`` now work when using a Panel as the minute data source. (:issue:`1920`) |
| 55 | +- Check contract exists when using futures daily bar reader (:issue:`1892`) |
| 56 | +- ``NoDataBeforeDate`` edge cases (:issue:`1894`) |
| 57 | +- Fix frame column validation in Python 2.7.5 (:issue:`1954`) |
| 58 | +- Fix daily history for minute panel data backtest (:issue:`1920`) |
| 59 | +- ``get_last_traded_dt`` expects a trading day (:issue:`2087`) |
| 60 | +- Daily Adjustment perspective fix (:issue:`2089`) |
| 61 | + |
| 62 | +Performance |
| 63 | +~~~~~~~~~~~ |
| 64 | + |
| 65 | +- Change algorithm account validation from happening every minute in ``handle_data`` to only occurring once at the end of each day (:issue:`1884`) |
| 66 | +- Blaze core loader performance improvements (:issue:`1866`) |
| 67 | +- Add a new factor that just computes beta (:issue:`2021`) |
| 68 | +- Reduces memory footprint of Quandl WIKI Prices bundle (:issue:`2053`) |
| 69 | + |
| 70 | +Maintenance and Refactorings |
| 71 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 72 | + |
| 73 | +- Add ``CachedObject.expired()`` (:issue:`1881`) |
| 74 | +- Set ``RollingLinearRegressionOfReturns`` factor to be window_safe (:issue:`1902`) |
| 75 | +- Set ``RSI`` factor to be window_safe (:issue:`1904`) |
| 76 | +- Updates for better docs generation (:issue:`1890`) |
| 77 | +- Remove and zero out unused treasury curves (:issue:`1910`) |
| 78 | +- Networkx 2 changes the behavior of out_degree (:issue:`1996`) |
| 79 | +- Pass calendars to ``DataPortal`` (:issue:`2026`) |
| 80 | +- Remove old Yahoo code (:issue:`2032`) |
| 81 | +- Sync and fill benchmarks through latest trading day (:issue:`2044`) |
| 82 | +- Provides better error message when QUANDL_API_KEY is missing (:issue:`2078`) |
| 83 | +- Improve the error message for misaligned dates in Pipeline engine (:issue:`2131`) |
| 84 | + |
| 85 | +Build |
| 86 | +~~~~~ |
| 87 | + |
| 88 | +- Update the conda tools we're using to fix our packaging (:issue:`1942`) |
| 89 | +- Upgrade empyrical to 0.3.2 (:issue:`1983`) |
| 90 | +- Update conda tooling and remove Python 3.4 builds (:issue:`2009`) |
| 91 | +- Upgrade empyrical to 0.3.3 (:issue:`2014`) |
| 92 | +- Upgrade empyrical to 0.3.4 (:issue:`2098`) |
| 93 | +- Upgrade empyrical to 0.4.2 (:issue:`2125) |
| 94 | + |
| 95 | +Documentation |
| 96 | +~~~~~~~~~~~~~ |
| 97 | + |
| 98 | +- Include ``MACDSignal`` in zipline.io documentation (:issue:`1828`) |
| 99 | +- Remove mentions of Yahoo from the Beginner Tutorial (:issue:`1845`) |
| 100 | +- Add contributing & questions section to the README (:issue:`1889`) |
| 101 | +- Add info about using a conda envs for installs (:issue:`1922`) |
| 102 | +- Fix Beginner Tutorial link (:issue:`1932`) |
| 103 | +- Add clean docs (:issue:`1943`) |
| 104 | +- Add distinct warnings for benchmark and treasury fetchers (:issue:`1971`) |
| 105 | +- Add CONTRIBUTING.rst (:issue:`2033`) |
| 106 | +- Add tutorial on creating a custom ``TradingCalendar`` (:issue:`2035`) |
| 107 | +- Docs & tutorial updates for ingesting, beginners, and csvdir (:issue:`2073`) |
| 108 | +- Documented the new risk and performance metrics API (:issue:`2081`). |
| 109 | +- Fixed a typo in the description of ``--bundle-timestamp`` (:issue:`2123`) |
| 110 | + |
| 111 | + |
| 112 | +Miscellaneous |
| 113 | +~~~~~~~~~~~~~ |
| 114 | + |
| 115 | +None |
0 commit comments