From cfce14ed9b6ab4827566f50b99dcebf18d426fc2 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 28 Sep 2016 19:15:15 -0400 Subject: [PATCH] DOC: Update docstring for set_restrictions. --- zipline/algorithm.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zipline/algorithm.py b/zipline/algorithm.py index 324f247a..55f06cf9 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -2206,8 +2206,12 @@ class TradingAlgorithm(object): Parameters ---------- - restricted_list : container[Asset], SecurityList, Restrictions - The assets that cannot be ordered. + restricted_list : Restrictions + An object providing information about restricted assets. + + See Also + -------- + zipline.finance.restrictions.Restrictions """ control = RestrictedListOrder(on_error, restrictions) self.register_trading_control(control)