标准化rpc和event对外暴露的类和函数
This commit is contained in:
parent
e2070e1b0e
commit
da77c1eac7
@ -0,0 +1,3 @@
|
||||
# encoding: UTF-8
|
||||
|
||||
from .eventEngine import EventEngine, EventEngine2, Event
|
@ -0,0 +1,3 @@
|
||||
# encoding: UTF-8
|
||||
|
||||
from .vnrpc import RpcServer, RpcClient, RemoteException
|
@ -26,7 +26,7 @@ from datetime import datetime, timedelta
|
||||
|
||||
from ctaBase import *
|
||||
from strategy import STRATEGY_CLASS
|
||||
from vnpy.event.eventEngine import *
|
||||
from vnpy.event import *
|
||||
from vnpy.trader.vtEvent import *
|
||||
from vtConstant import *
|
||||
from vtGateway import VtSubscribeReq, VtOrderReq, VtCancelOrderReq, VtLogData
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -8,8 +8,8 @@ import platform
|
||||
import vtPath
|
||||
from uiMainWindow import *
|
||||
|
||||
from eventEngine import *
|
||||
from vnpy.rpc.vnrpc import RpcClient
|
||||
from vnpy.event import EventEngine
|
||||
from vnpy.rpc import RpcClient
|
||||
|
||||
from ctaStrategy.ctaEngine import CtaEngine
|
||||
from dataRecorder.drEngine import DrEngine
|
||||
|
@ -7,8 +7,7 @@ from datetime import datetime
|
||||
from time import sleep
|
||||
from threading import Thread
|
||||
|
||||
import eventType
|
||||
from vnpy.rpc.vnrpc import RpcServer
|
||||
from vnpy.rpc import RpcServer
|
||||
from vtEngine import MainEngine
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user