[Mod]在CryptoTrader中加入OKEX期货接口

This commit is contained in:
vn.py 2018-11-06 09:24:39 +08:00
parent 68c9c09ac3
commit 5b2059c4de
2 changed files with 2 additions and 2 deletions

View File

@ -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)