From 5b2059c4de971e5a0951e012fb3d9e21b8fa3a30 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 6 Nov 2018 09:24:39 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E5=9C=A8CryptoTrader=E4=B8=AD=E5=8A=A0?= =?UTF-8?q?=E5=85=A5OKEX=E6=9C=9F=E8=B4=A7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/CryptoTrader/run.py | 3 ++- vnpy/trader/gateway/okexFuturesGateway/OkexFuturesApi.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 vnpy/trader/gateway/okexFuturesGateway/OkexFuturesApi.py diff --git a/examples/CryptoTrader/run.py b/examples/CryptoTrader/run.py index 240b8272..8acad184 100644 --- a/examples/CryptoTrader/run.py +++ b/examples/CryptoTrader/run.py @@ -15,7 +15,7 @@ from vnpy.trader.vtEngine import MainEngine from vnpy.trader.uiQt import createQApp # 加载底层接口 -from vnpy.trader.gateway import (huobiGateway, okexGateway, +from vnpy.trader.gateway import (huobiGateway, okexGateway, okexFuturesGateway, binanceGateway, bitfinexGateway, bitmexGateway, fcoinGateway, bigoneGateway, lbankGateway, @@ -40,6 +40,7 @@ def main(): me = MainEngine(ee) # 添加交易接口 + me.addGateway(okexFuturesGateway) me.addGateway(ccxtGateway) me.addGateway(coinbaseGateway) me.addGateway(lbankGateway) diff --git a/vnpy/trader/gateway/okexFuturesGateway/OkexFuturesApi.py b/vnpy/trader/gateway/okexFuturesGateway/OkexFuturesApi.py deleted file mode 100644 index 8b137891..00000000 --- a/vnpy/trader/gateway/okexFuturesGateway/OkexFuturesApi.py +++ /dev/null @@ -1 +0,0 @@ -