diff --git a/vnpy/api/okexfuture/OkexFutureApi.py b/vnpy/api/okexfuture/OkexFutureApi.py index 9d9809e8..905a3258 100644 --- a/vnpy/api/okexfuture/OkexFutureApi.py +++ b/vnpy/api/okexfuture/OkexFutureApi.py @@ -413,7 +413,7 @@ class OkexFutureRestClient(OkexFutureRestBase): #---------------------------------------------------------------------- @staticmethod - def errorCode2String(code): + def errorCodeToString(code): assert code in errorCodeMap return errorCodeMap[code]