From 26cfc172554da56b14ea92f614c73ba7f18d6a57 Mon Sep 17 00:00:00 2001 From: nanoric Date: Thu, 11 Oct 2018 03:51:27 -0400 Subject: [PATCH] =?UTF-8?q?[Mod]=20OkexFutureApi:=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E5=88=86onFailed=E7=9A=84=E6=99=BA=E8=83=BD=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/okexfuture/OkexFutureApi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vnpy/api/okexfuture/OkexFutureApi.py b/vnpy/api/okexfuture/OkexFutureApi.py index 36057a7a..fd12887e 100644 --- a/vnpy/api/okexfuture/OkexFutureApi.py +++ b/vnpy/api/okexfuture/OkexFutureApi.py @@ -124,7 +124,7 @@ class OkexFutureRestClient(OkexFutureRestBase): def sendOrder(self, symbol, contractType, orderType, volume, onSuccess, onFailed=None, price=None, useMarketPrice=False, leverRate=None, - extra=None): # type:(str, OkexFutureContractType, OkexFutureOrderType, float, Callable[[int, Any], Any], Callable[[object], Any], float, bool, Union[int, None], Any)->Request + extra=None): # type:(str, OkexFutureContractType, OkexFutureOrderType, float, Callable[[int, Any], Any], Callable[[Any], Any], float, bool, Union[int, None], Any)->Request """ :param symbol: str :param contractType: OkexFutureContractType @@ -136,7 +136,7 @@ class OkexFutureRestClient(OkexFutureRestBase): :param useMarketPrice: bool :param leverRate: int | None :param extra: Any - :return: + :return: Request """ data = {} @@ -162,7 +162,7 @@ class OkexFutureRestClient(OkexFutureRestBase): #---------------------------------------------------------------------- def cancelOrder(self, symbol, contractType, orderId, onSuccess, onFailed=None, - extra=None): # type: (str, OkexFutureContractType, str, Callable[[object], Any], Callable[[object], Any], Any)->Request + extra=None): # type: (str, OkexFutureContractType, str, Callable[[object], Any], Callable[[Any], Any], Any)->Request """ :param symbol: str :param contractType: OkexFutureContractType