I would like to ask you if it is possible to start a strategy and then stop receiving rates as i want to use a different rate provider. I am trying
FeedDataProvider.getDefaultInstance().disconnected();
with no success and if i try a
FeedDataProvider.getDefaultInstance().close();
then i get several exceptions
CAUSED BY:
Exception(1): null
at com.dukascopy.api.impl.connect.DCClientImpl$7.tickReceived(DCClientImpl.java:819)
at com.dukascopy.dds2.greed.market.LiveCurrencyMarketProcessingThread$1.run(LiveCurrencyMarketProcessingThread.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)