Hi everyone, I'm glad to discover Dukascopy, it's nice to be able to program in Java for Forex.
I would like to use Eclipse IDE to program my strategies, execute them through the IDE and follow them while in progress on the JForex plataform's graphics.
So my doubts are:
1) Can I do that? Like if I programme a simple script to submit an order, compile and execute it through Eclipse, will I be able to see the order being executed on JForex plataform? I tryed it but the strategy executes through Eclipse but seems not to reflect the progress in JFOREX plataform's graphics.
2) The other thing is, everytime executing a strategy with Eclipse and being logged into JForex I get the execption:
ERROR JForexTaskManager - java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.dukascopy.api.impl.connect.JForexTaskManager.a(Unknown Source)
at com.dukascopy.api.impl.connect.DCClientImpl.startStrategy(Unknown Source)
at singlejartest.Main.main(Main.java:187)
Caused by: java.lang.NullPointerException
at singlejartest.Main$1.onStart(Main.java:90)
at com.dukascopy.api.impl.connect.d.onStart(Unknown Source)
at com.dukascopy.api.impl.connect.j.call(Unknown Source)
at com.dukascopy.api.impl.connect.j.call(Unknown Source)
at com.dukascopy.api.impl.execution.c.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.dukascopy.api.impl.execution.f$a.a(Unknown Source)
at com.dukascopy.api.impl.execution.f$a.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
How can I execute strategy through Eclipse and follow it's progress though the graphic?