127 views
0


api_master = TqApi(TqSim()) # Create new threads 
thread1 = WorkerThread(api_master.copy(), "SHFE.cu1901") 
thread2 = WorkerThread(api_master.copy(), "SHFE.rb1901") # Start new 
thread1.start() 
thread2.start() 
while True: 
api_master.wait_update()
Answered question