解决若干bug

This commit is contained in:
vn.py 2017-05-08 17:52:13 +08:00
parent 65a23f5fd8
commit b2336f3a9f
4 changed files with 5 additions and 5 deletions

View File

@ -14,8 +14,8 @@ import pymongo
from vnpy.trader.vtGlobal import globalSetting
from ctaBase import *
from vtConstant import *
from vtGateway import VtOrderData, VtTradeData
from vnpy.trader.vtConstant import *
from vnpy.trader.vtGateway import VtOrderData, VtTradeData
########################################################################

View File

@ -40,7 +40,7 @@ ENGINETYPE_BACKTESTING = 'backtesting' # 回测
ENGINETYPE_TRADING = 'trading' # 实盘
# CTA引擎中涉及的数据类定义
from vtConstant import EMPTY_UNICODE, EMPTY_STRING, EMPTY_FLOAT, EMPTY_INT
from vnpy.trader.vtConstant import EMPTY_UNICODE, EMPTY_STRING, EMPTY_FLOAT, EMPTY_INT
from vnpy.trader.vtObject import VtBarData as CtaBarData
from vnpy.trader.vtObject import VtTickData as CtaTickData

View File

@ -5,7 +5,7 @@
'''
from ctaBase import *
from vtConstant import *
from vnpy.trader.vtConstant import *
########################################################################

View File

@ -2,7 +2,7 @@
'''一个简单的通联数据客户端主要使用requests开发比通联官网的python例子更为简洁。'''
import os
import requests
import json