Skip to content

Commit c079a5f

Browse files
author
Freddie Vargus
authored
Merge pull request #2105 from quantopian/whatsnew-1.1.2
REL: Add whatsnew for Zipline 1.2.0
2 parents 8289d59 + 0fb2ef0 commit c079a5f

File tree

4 files changed

+122
-71
lines changed

4 files changed

+122
-71
lines changed

docs/source/development-guidelines.rst

+5
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,8 @@ When adding or editing docstrings for classes, functions, etc, we use `numpy`__
208208
__ https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
209209

210210

211+
Updating the Whatsnew
212+
---------------------
213+
214+
We have a set of `whatsnew <https://github.com/quantopian/zipline/tree/master/docs/source/whatsnew>`__ files that are used for documenting changes that have occurred between different versions of Zipline.
215+
Once you've made a change to Zipline, in your Pull Request, please update the most recent ``whatsnew`` file with a comment about what you changed. You can find examples in previous ``whatsnew`` files.

docs/source/releases.rst

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Release Notes
33
=============
44

5+
.. include:: whatsnew/1.2.0.txt
6+
57
.. include:: whatsnew/1.1.2.txt
68

79
.. include:: whatsnew/1.1.1.txt

docs/source/whatsnew/1.1.2.txt

-71
This file was deleted.

docs/source/whatsnew/1.2.0.txt

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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

Comments
 (0)