def onContract(self, contract):
    '合约基础信息推送'
    event1 = Event(type_=EVENT_CONTRACT)
    event1.dict_['data'] = contract
    self.eventEngine.put(event1)
合约基础信息推送
def onContract(self, contract):
    
    event1 = Event(type_=EVENT_CONTRACT)
    event1.dict_['data'] = contract
    self.eventEngine.put(event1)