MCPcopy
hub / github.com/shidenggui/easyquant / clocktick

Method clocktick

easyquant/push_engine/clock_engine.py:177–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 self.clock_engine_thread.start()
176
177 def clocktick(self):
178 while self.is_active:
179 self.tock()
180 time.sleep(self.sleep_time)
181
182 def tock(self):
183 if not etime.is_trade_date(self.now_dt):

Callers

nothing calls this directly

Calls 1

tockMethod · 0.95

Tested by

no test coverage detected