code: def triggered(self):
          
          if self.stop is not None and not self.stop_reached:
              return False
  
          if self.limit is not None and not self.limit_reached:
              return False
  
          return True
docs: For a market order, True.
          For a stop order, True IFF stop_reached.
          For a limit order, True IFF limit_reached.