9f6ea1fd5c
2. 将vn.trader下的所有接口统一放到了一个单独的gateway文件夹中,并实现自动识别和加载
11 lines
207 B
Python
11 lines
207 B
Python
# encoding: UTF-8
|
|
|
|
import vtConstant
|
|
from ctpGateway import CtpGateway as gateway
|
|
|
|
gatewayName = 'CTP'
|
|
gatewayDisplayName = gatewayName
|
|
gatewayType = vtConstant.GATEWAYTYPE_FUTURES
|
|
gatewayQryEnabled = True
|
|
|