code: def cancelall(self):
          
          if self.orders:
              return self.bitshares.cancel(
                  [o["id"] for o in self.orders],
                  account=self.account
              )
docs: Cancel all orders of this bot