@authentication_required
def http_open_orders(self):
    'Get open orders via HTTP. Used on close to ensure we catch them all.'
    path = 'order'
    orders = self._curl_bitmex(path=path, query={'filter': json.dumps({'ordStatus.isTerminated': False, 'symbol': self.symbol}), 'count': 500}, verb='GET')
    return [o for o in orders if str(o['clOrdID']).startswith(self.orderIDPrefix)]
Get open orders via HTTP. Used on close to ensure we catch them all.
@authentication_required
def http_open_orders(self):
    
    path = 'order'
    orders = self._curl_bitmex(path=path, query={'filter': json.dumps({'ordStatus.isTerminated': False, 'symbol': self.symbol}), 'count': 500}, verb='GET')
    return [o for o in orders if str(o['clOrdID']).startswith(self.orderIDPrefix)]