|
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.
subscribing instrument problem |
tmroziewicz
|
Post subject: subscribing instrument problem |
Post rating: 0
|
Posted: Mon 05 Jun, 2017, 13:24
|
|
User rating: 0
Joined: Mon 05 Jun, 2017, 13:20 Posts: 1 Location: PolandPoland
|
hi, I am subsribing single instrument : Set<Instrument> instruments = new HashSet<>(); instruments.add(Instrument.EURPLN); LOGGER.info("Subscribing instruments..."); client.setSubscribedInstruments(instruments); System.out.println("instrument ===================="); Set<Instrument> sub = client.getSubscribedInstruments();
for (Instrument instrument : sub) { System.out.println(instrument); }
but i got EUR/USD EUR/PLN USD/PLN
what am I doing wrong?
I am using singlejartest.Main . POM attached. thanks for help Tomasz
Attachments: |
pom.xml [6.35 KiB]
Downloaded 195 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
API Support
|
Post subject: Re: subscribing instrument problem |
Post rating: 0
|
Posted: Thu 08 Jun, 2017, 09:08
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
This is normal. The other instruments are added for JClient's purposes.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|