示例#1
0
def once_global_task(worker):
    tfn = MyThread('job_once_global', job_once_global, worker)
    tfn.start()
示例#2
0
def hf_task(worker):
    tfn = MyThread('job_hf', job_hf, worker)
    tfn.start()
示例#3
0
def us_trade_task(worker):
    tfn = MyThread('job_us_trade', job_us_trade, worker)
    tfn.start()
# -*- coding: UTF-8 -*-
示例#5
0
def lf_task(worker):
    tfn = MyThread('job_lf', job_lf, worker)
    tfn.start()
示例#6
0
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()
示例#8
0
def realtime_global_task():
    tfn = MyThread('job_realtime_global', job_realtime_global,
                   ts_realtime_global)
    tfn.start()
示例#9
0
def realtime_custom_task():
    tfn = MyThread('job_realtime_custom', job_realtime_custom,
                   ts_realtime_custom)
    tfn.start()
示例#10
0
def once_global_task():
    tfn = MyThread('job_once_global', job_once_global, ts_once)
    tfn.start()
示例#11
0
def once_custom_task():
    tfn = MyThread('job_once_custom', job_once_custom, ts_once)
    tfn.start()
示例#12
0
def sunday_task():
    tfn = MyThread('job_sunday', job_sunday, ts_sunday)
    tfn.start()
示例#13
0
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()