From b6310db5ed638ed02c531f8b68d47f7d0cf70ed0 Mon Sep 17 00:00:00 2001 From: llllllllll Date: Tue, 10 Nov 2015 15:40:18 -0500 Subject: [PATCH] DOC: whatsnew entry --- docs/source/whatsnew/0.8.4.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/source/whatsnew/0.8.4.txt b/docs/source/whatsnew/0.8.4.txt index 92d721ce..79366542 100644 --- a/docs/source/whatsnew/0.8.4.txt +++ b/docs/source/whatsnew/0.8.4.txt @@ -12,7 +12,12 @@ None Enhancements ~~~~~~~~~~~~ -None +* Adds a way for users to specify context manager to use when executing the + scheduled functions (including ``handle_data``). This context manager will be + passed the :class:`~zipline.protocol.BarData` object for the bar and will + be used for the duration of all of the functions scheduled to run. This can be + passed to :class:`~zipline.algorithm.TradingAlgorithm` by the keyword argument + ``create_event_context`` (:issue:`828`). Experimental Features ~~~~~~~~~~~~~~~~~~~~~