From 7b6ea9dd26e4e98f51342cd5026168ac01edfd6e Mon Sep 17 00:00:00 2001 From: Joe Jevnik Date: Tue, 22 Dec 2015 12:31:15 -0500 Subject: [PATCH] DOC: add whatsnew entry for exception changes --- docs/source/whatsnew/0.8.4.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/source/whatsnew/0.8.4.txt b/docs/source/whatsnew/0.8.4.txt index 0689149e..baae8f7b 100644 --- a/docs/source/whatsnew/0.8.4.txt +++ b/docs/source/whatsnew/0.8.4.txt @@ -87,6 +87,15 @@ Bug Fixes * Fixed spurious warnings on first download of treasury data (:issue `922`). +* Corrected the error messages for :func:`~zipline.api.set_commission` and + :func:`~zipline.api.set_slippage` when used outside of the ``initialize`` + function. These errors called the functions ``override_*`` instead of + ``set_*``. This also renamed the exception types raised from + ``OverrideSlippagePostInit`` and ``OverrideCommissionPostInit`` to + :class:`~zipline.errors.SetSlippagePostInit` and + :class:`~zipline.errors.SetCommissionPostInit` (:issue:`923`). + + Performance ~~~~~~~~~~~