2017-05-04 06:18:31 +00:00
|
|
|
# encoding: UTF-8
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
|
2017-06-11 13:41:04 +00:00
|
|
|
import trader.vtConstant
|
2017-05-04 06:18:31 +00:00
|
|
|
|
|
|
|
print u'init {0}'.format(os.path.dirname(__file__))
|
|
|
|
|
|
|
|
from ctpGateway import CtpGateway as gateway
|
|
|
|
|
|
|
|
gatewayName = 'CTP'
|
|
|
|
gatewayDisplayName = gatewayName
|
2017-06-11 13:41:04 +00:00
|
|
|
gatewayType = trader.vtConstant.GATEWAYTYPE_FUTURES
|
2017-05-04 06:18:31 +00:00
|
|
|
gatewayQryEnabled = True
|
|
|
|
|