def once_global_task(worker): tfn = MyThread('job_once_global', job_once_global, worker) tfn.start()
def hf_task(worker): tfn = MyThread('job_hf', job_hf, worker) tfn.start()
def us_trade_task(worker): tfn = MyThread('job_us_trade', job_us_trade, worker) tfn.start()
# -*- coding: UTF-8 -*-
def lf_task(worker): tfn = MyThread('job_lf', job_lf, worker) tfn.start()
def news_task(): tfn = MyThread('job_news',job_news, ts_news) tfn.start()
def realtime_quote_task(worker): tfn = MyThread('realtime_quote_task', job_realtime_quote,worker) tfn.start()
def realtime_global_task(): tfn = MyThread('job_realtime_global', job_realtime_global, ts_realtime_global) tfn.start()
def realtime_custom_task(): tfn = MyThread('job_realtime_custom', job_realtime_custom, ts_realtime_custom) tfn.start()
def once_global_task(): tfn = MyThread('job_once_global', job_once_global, ts_once) tfn.start()
def once_custom_task(): tfn = MyThread('job_once_custom', job_once_custom, ts_once) tfn.start()
def sunday_task(): tfn = MyThread('job_sunday', job_sunday, ts_sunday) tfn.start()
def global_remedy_task(): tfn = MyThread('job_global_remedy_task', job_global_remedy_task, ts) tfn.start()
def once_global_task_5m(): tfn = MyThread('job_once_global_5m', job_once_global_5m, ts_once) tfn.start()