mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 11:51:47 +08:00
fixes for unit tests, back to 50/51 passing.
This commit is contained in:
+6
-1
@@ -162,8 +162,13 @@ class SimulatedTrading(object):
|
||||
finally:
|
||||
self.close()
|
||||
|
||||
def signal_done(self):
|
||||
# notify monitor we're done
|
||||
done_frame = zp.DONE_FRAME('succes')
|
||||
self.results_socket.send(done_frame)
|
||||
|
||||
def close(self):
|
||||
log.info("Closing Simulation")
|
||||
log.info("Closing Simulation: {id}".format(id=self.sim_id))
|
||||
|
||||
def cancel(self):
|
||||
if self.proc and self.proc.is_alive():
|
||||
|
||||
Reference in New Issue
Block a user