def send_wechat(self, msg: str):
    '实盘时才发送微信'
    if self.backtesting:
        return
    self.cta_engine.send_wechat(msg=msg, strategy=self)
实盘时才发送微信
def send_wechat(self, msg: str):
    
    if self.backtesting:
        return
    self.cta_engine.send_wechat(msg=msg, strategy=self)