def cancel_all(self):
    '\n        Cancel all orders sent by strategy.\n        '
    if self.trading:
        self.cta_engine.cancel_all(self)
Cancel all orders sent by strategy.
def cancel_all(self):
    '\n        \n        '
    if self.trading:
        self.cta_engine.cancel_all(self)