def retry():
    self.retries += 1
    if (self.retries > max_retries):
        raise Exception(('Max retries on %s (%s) hit, raising.' % (path, json.dumps((postdict or '')))))
    return self._curl_bitmex(path, query, postdict, timeout, verb, rethrow_errors, max_retries)
def retry():
    self.retries += 1
    if (self.retries > max_retries):
        raise Exception(('Max retries on %s (%s) hit, raising.' % (path, json.dumps((postdict or )))))
    return self._curl_bitmex(path, query, postdict, timeout, verb, rethrow_errors, max_retries)