MAINT: Rename restrictions.py to asset_restrictions.py

For clarity as to what sort of restrictions these are
This commit is contained in:
Andrew Liang
2016-09-30 16:35:24 -04:00
parent 73f1ac6255
commit 148d2a5273
14 changed files with 17 additions and 19 deletions
+1 -3
View File
@@ -16,12 +16,11 @@
# Note that part of the API is implemented in TradingAlgorithm as
# methods (e.g. order). These are added to this namespace via the
# decorator ``api_method`` inside of algorithm.py.
from .finance.restrictions import (
from .finance.asset_restrictions import (
Restriction,
StaticRestrictions,
HistoricalRestrictions,
RESTRICTION_STATES,
SecurityListRestrictions,
)
from .finance import commission, execution, slippage, cancel_policy
from .finance.cancel_policy import (
@@ -47,7 +46,6 @@ __all__ = [
'StaticRestrictions',
'HistoricalRestrictions',
'RESTRICTION_STATES',
'SecurityListRestrictions',
'cancel_policy',
'commission',
'date_rules',