枚举类的使用
org.dromara.northstar.indicator.constant.PeriodUnit
使用PeriodUnit的程序包
程序包
说明
-
org.dromara.northstar.indicator.constant中PeriodUnit的使用
修饰符和类型方法说明static PeriodUnit返回带有指定名称的该类的枚举常量。static PeriodUnit[]PeriodUnit.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同 -
org.dromara.northstar.indicator.model中PeriodUnit的使用
限定符构造器说明Configuration(String indicatorName, Contract contract, Integer numOfUnits, PeriodUnit period, ValueType valueType, Integer cacheLength, Boolean ifPlotPerBar, Boolean visible) 创建Configuration记录类的实例。 -
org.dromara.northstar.strategy中PeriodUnit的使用
参数类型为PeriodUnit的org.dromara.northstar.strategy中的方法修饰符和类型方法说明voidIModuleStrategyContext.addMergedBarListener(Contract contract, int numOfUnit, PeriodUnit unit, MergedBarListener listener) 注册周期监听器