def close_order(self, order_id):
        url = "{0}/{1}/accounts/{2}/orders/{3}".format(
            self.domain,
            self.API_VERSION,
            self.account_id,
            order_id
        )
        try:
            return self._Client__call(uri=url, method="delete")
        except RequestException:
            return False
        except AssertionError:
            return False
Create a new instance of the Connection object.
dataset/ETHPy150Open toloco/pyoanda/pyoanda/client.py/Client.close_order--crossover with--dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingConnection.__init__