mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
Merge pull request #671 from quantopian/no-more-threadbound
BUG: Let logbook figure out how to bind the context manager.
This commit is contained in:
commit
fcda943e7d
1 file changed
+1
-1
@@ -87,7 +87,7 @@ class AlgorithmSimulator(object):
|
||||
# snapshot time to any log record generated.
|
||||
|
||||
with ExitStack() as stack:
|
||||
stack.enter_context(self.processor.threadbound())
|
||||
stack.enter_context(self.processor)
|
||||
stack.enter_context(ZiplineAPI(self.algo))
|
||||
|
||||
data_frequency = self.sim_params.data_frequency
|
||||
|
||||
Reference in new issue
Block a user