|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
NPE at com.dukascopy.charts.data.a.c.a |
[ridgeren]
|
Post subject: NPE at com.dukascopy.charts.data.a.c.a |
Post rating: 0
|
Posted: Tue 01 Dec, 2009, 04:57
|
|
User rating: 0
Joined: Sun 29 Nov, 2009, 04:15 Posts: 11
|
Hi, I downloaded the example, imported to eclipse and replaced the MA strategy with mine. Every time after an order was open and closed(TP hit), I got this in my eclipse console, then the strategy seems stop working.
java.lang.NullPointerException at com.dukascopy.charts.data.a.c.a(Unknown Source) at com.dukascopy.dds2.greed.util.b.a(Unknown Source) at com.dukascopy.charts.data.a.b.a(Unknown Source) at com.dukascopy.charts.data.a.b.p(Unknown Source) at com.dukascopy.api.impl.connect.DCClientImpl.a(Unknown Source) at com.dukascopy.transport.client.a.b.execute(Unknown Source) at com.dukascopy.transport.client.a.e.run(Unknown Source) at com.dukascopy.transport.client.k.run(Unknown Source)
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-1360: NPE at com.dukascopy.charts.data.a.c.a |
Post rating: 0
|
Posted: Tue 01 Dec, 2009, 10:29
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
It seems you have not subscribed to all the required instruments. For instance, if you are opening AUD/JPY order, you will need USD/JPY also. In any case, we will add more information for the following exception.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|