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()
west 已回答的问题 2020年7月29日