From ae09a14cdfd2f99ef87527386b6f43c932bc1964 Mon Sep 17 00:00:00 2001 From: nanoric Date: Wed, 19 Jun 2019 17:43:04 +0800 Subject: [PATCH] [Del] ToraGateway: remove order type of MarketPrice . --- vnpy/gateway/tora/constant.py | 1 - vnpy/gateway/tora/td.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/vnpy/gateway/tora/constant.py b/vnpy/gateway/tora/constant.py index 5c72612c..2a1f46ee 100644 --- a/vnpy/gateway/tora/constant.py +++ b/vnpy/gateway/tora/constant.py @@ -102,7 +102,6 @@ ORDER_TYPE_VT2TORA: Dict[OrderType, Tuple[str, str, str]] = { OrderType.FOK: (TORA_TSTP_OPT_LimitPrice, TORA_TSTP_TC_IOC, TORA_TSTP_VC_AV), OrderType.FAK: (TORA_TSTP_OPT_LimitPrice, TORA_TSTP_TC_IOC, TORA_TSTP_VC_AV), OrderType.LIMIT: (TORA_TSTP_OPT_LimitPrice, TORA_TSTP_TC_GFD, TORA_TSTP_VC_AV), - OrderType.MARKET: (TORA_TSTP_OPT_AnyPrice, TORA_TSTP_TC_GFD, TORA_TSTP_VC_AV), } ORDER_TYPE_TORA2VT: Dict[Tuple[str, str, str], OrderType] = { diff --git a/vnpy/gateway/tora/td.py b/vnpy/gateway/tora/td.py index d9ae02a8..b738a4ff 100644 --- a/vnpy/gateway/tora/td.py +++ b/vnpy/gateway/tora/td.py @@ -2,8 +2,6 @@ author: nanoric TODOS: - * market price order @ SSE - * market price order @ SZSE * cancel_order @ local submitted * cancel_order @ non-local submitted * test of reconnection(am i need re-login?)