类 AbstractTester
java.lang.Object
org.dromara.northstar.strategy.tester.AbstractTester
- 所有已实现的接口:
ModuleTesterContext
-
字段概要
字段修饰符和类型字段说明protected IContractManagerprotected ObjectManager<Gateway>protected IGatewayServiceprotected ObjectManager<IModule>protected IModuleService -
构造器概要
构造器限定符构造器说明protectedAbstractTester(ObjectManager<Gateway> gatewayMgr, ObjectManager<IModule> moduleMgr, IContractManager contractMgr, IGatewayService gatewayService, IModuleService moduleService) -
方法概要
修饰符和类型方法说明protected List<ComponentField>convertParams(DynamicParams params) protected ModuleDescriptionprotected TradeGatewaycreateSimGateway(MarketGateway mktGateway) protected Stringload()protected voidpause(int sec) protected voidvoidstart()abstract ComponentMetaInfostrategy()abstract DynamicParamsabstract int[]从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.dromara.northstar.strategy.tester.ModuleTesterContext
endDate, precision, preStartDate, speed, startDate, symbolTestAmount, testSymbols
-
字段详细资料
-
contractMgr
-
gatewayMgr
-
moduleMgr
-
gatewayService
-
moduleService
-
-
构造器详细资料
-
AbstractTester
protected AbstractTester(ObjectManager<Gateway> gatewayMgr, ObjectManager<IModule> moduleMgr, IContractManager contractMgr, IGatewayService gatewayService, IModuleService moduleService)
-
-
方法详细资料
-
strategyParams
-
strategy
-
testPeriods
public abstract int[] testPeriods() -
convertParams
-
start
public void start() -
save
-
load
-
pause
protected void pause(int sec) -
createModule
-
createSimGateway
-