def QA_signal_send_multi_strategy_change(self): #事件对象,多策略更新 event = QA_Signal_events(type_=Signal) event.dict["Signal"] = 'change' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')
def QA_signal_send_strategy_update(self): #事件对象,策略数据更新 event = QA_Signal_events(type_=Signal) #event.dict["Signal"] = u'如何写出更优雅的代码\n' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')
def QA_signal_send_portfolio_finish(self): #事件对象,组合控制完成 event = QA_Signal_events(type_=Signal) #event.dict["Signal"] = u'如何写出更优雅的代码\n' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')
def QA_signal_send_account_change(self): #事件对象,账户改变 event = QA_Signal_events(type_=Signal) #event.dict["Signal"] = u'如何写出更优雅的代码\n' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')
def QA_signal_send_market_deal_success(self): #事件对象,交易成功 event = QA_Signal_events(type_=Signal) #event.dict["Signal"] = u'如何写出更优雅的代码\n' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')
def QA_signal_send_event(self): event = QA_Signal_events(type_=Signal) event.dict["Signal"] = 'change' #发送事件 self.eventManager.SendEvent(event) QA_util_log_info('send a message')