mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +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:
@@ -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