mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-29 11:18:20 +08:00
DOC: Rename NoopRestrictions to NoRestrictions.
This commit is contained in:
committed by
Andrew Liang
parent
cfce14ed9b
commit
d47144dfb8
@@ -83,7 +83,7 @@ from zipline.finance.slippage import (
|
||||
)
|
||||
from zipline.finance.cancel_policy import NeverCancel, CancelPolicy
|
||||
from zipline.finance.restrictions import (
|
||||
NoopRestrictions,
|
||||
NoRestrictions,
|
||||
StaticRestrictions,
|
||||
SecurityListRestrictions,
|
||||
)
|
||||
@@ -425,7 +425,7 @@ class TradingAlgorithm(object):
|
||||
# A dictionary of the actual capital change deltas, keyed by timestamp
|
||||
self.capital_change_deltas = {}
|
||||
|
||||
self.restrictions = NoopRestrictions()
|
||||
self.restrictions = NoRestrictions()
|
||||
|
||||
def init_engine(self, get_loader):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user