Hi Dukascopy Team,
I would like to report that IPluginContext#subscribeToTicksFeed() does not work.
Consider the code below. The onTick() method is never called.
Please, provide a fix.
Thanks & best regards,
Greg
public class MyPlugin extends Plugin implements ITickFeedListener {
public void onStart(IPluginContext context) throws JFException {
context.subscribeToTicksFeed(Instrument.EURUSD, this);
}
public void onStop() throws JFException {
}
@Override
public void onTick(Instrument instrument, ITick tick) {
System.out.println(instrument + " | " + tick);
}
}