MCPcopy Create free account
hub / github.com/shidenggui/easyquant / __init__

Method __init__

easyquant/push_engine/base_engine.py:13–19  ·  view source on GitHub ↗
(self, event_engine, clock_engine)

Source from the content-addressed store, hash-verified

11 PushInterval = 1
12
13 def __init__(self, event_engine, clock_engine):
14 self.event_engine = event_engine
15 self.clock_engine = clock_engine
16 self.is_active = True
17 self.quotation_thread = Thread(target=self.push_quotation, name="QuotationEngine.%s" % self.EventType)
18 self.quotation_thread.setDaemon(False)
19 self.init()
20
21 def start(self):
22 self.quotation_thread.start()

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected