From 7f9a76d9a624f81c4776b447ca36579fbb723bb9 Mon Sep 17 00:00:00 2001 From: zhangjiexian Date: Fri, 17 Mar 2023 22:26:51 +0800 Subject: [PATCH] fix request path of server timestamp --- okx/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okx/client.py b/okx/client.py index 9911080..1f74516 100644 --- a/okx/client.py +++ b/okx/client.py @@ -49,7 +49,7 @@ class Client(object): return self._request(method, request_path, params) def _get_timestamp(self): - request_path = c.API_URL + c.SERVER_TIMESTAMP_URL + request_path = base_api + c.SERVER_TIMESTAMP_URL response = self.client.get(request_path) if response.status_code == 200: return response.json()['ts']