解决若干bug
This commit is contained in:
parent
65a23f5fd8
commit
b2336f3a9f
@ -14,8 +14,8 @@ import pymongo
|
|||||||
|
|
||||||
from vnpy.trader.vtGlobal import globalSetting
|
from vnpy.trader.vtGlobal import globalSetting
|
||||||
from ctaBase import *
|
from ctaBase import *
|
||||||
from vtConstant import *
|
from vnpy.trader.vtConstant import *
|
||||||
from vtGateway import VtOrderData, VtTradeData
|
from vnpy.trader.vtGateway import VtOrderData, VtTradeData
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -40,7 +40,7 @@ ENGINETYPE_BACKTESTING = 'backtesting' # 回测
|
|||||||
ENGINETYPE_TRADING = 'trading' # 实盘
|
ENGINETYPE_TRADING = 'trading' # 实盘
|
||||||
|
|
||||||
# CTA引擎中涉及的数据类定义
|
# 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 VtBarData as CtaBarData
|
||||||
from vnpy.trader.vtObject import VtTickData as CtaTickData
|
from vnpy.trader.vtObject import VtTickData as CtaTickData
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
from ctaBase import *
|
from ctaBase import *
|
||||||
from vtConstant import *
|
from vnpy.trader.vtConstant import *
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
'''一个简单的通联数据客户端,主要使用requests开发,比通联官网的python例子更为简洁。'''
|
'''一个简单的通联数据客户端,主要使用requests开发,比通联官网的python例子更为简洁。'''
|
||||||
|
|
||||||
|
import os
|
||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user