add OHLCValueEvent
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import ats.plugin.OHLCPlugInViewFactory;
|
||||
import ats.plugin.OHLCUpdateListener;
|
||||
import ats.plugin.OHLCEvent;
|
||||
import ats.plugin.OHLCValueEvent;
|
||||
import com.espertech.esper.client.Configuration;
|
||||
import com.espertech.esper.client.EPServiceProvider;
|
||||
import com.espertech.esper.client.EPServiceProviderManager;
|
||||
@ -34,6 +35,7 @@ public class EsperProcessor implements TickProcessor {
|
||||
config.addEventType(LongEntryEvent.class);
|
||||
//config.addVariable("FOO", int.class, 12);
|
||||
config.addEventType(OHLCEvent.class);
|
||||
config.addEventType(OHLCValueEvent.class);
|
||||
|
||||
config.addPlugInView("ATS", "OHLC", OHLCPlugInViewFactory.class.getName());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user