code: def cancel_order(self, order_id, stock):
          
          url_fragment = 'venues/{venue}/stocks/{stock}/orders/{order_id}'.format(
              venue=self.venue,
              stock=stock,
              order_id=order_id,
          )
          url = urljoin(self.base_url, url_fragment)
          return self.session.delete(url).json()
docs: Cancel An Order
  
          https://starfighter.readme.io/docs/cancel-an-order