def onTick(self, tick):
    '市场行情推送'
    event1 = Event(type_=EVENT_TICK)
    event1.dict_['data'] = tick
    self.eventEngine.put(event1)
    event2 = Event(type_=(EVENT_TICK + tick.vtSymbol))
    event2.dict_['data'] = tick
    self.eventEngine.put(event2)
市场行情推送
def onTick(self, tick):
    
    event1 = Event(type_=EVENT_TICK)
    event1.dict_['data'] = tick
    self.eventEngine.put(event1)
    event2 = Event(type_=(EVENT_TICK + tick.vtSymbol))
    event2.dict_['data'] = tick
    self.eventEngine.put(event2)