DOC: Update docstring for set_restrictions.

This commit is contained in:
Scott Sanderson
2016-09-28 19:15:15 -04:00
committed by Andrew Liang
parent 8f150eb6ce
commit d79c43a46a
+6 -2
View File
@@ -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)