Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Unable to trade/register pairs
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57261
Page 1 of 1

Author:  snowstorm [ Fri 07 Feb, 2020, 11:07 ]
Post subject:  Unable to trade/register pairs

Hi, I am developing a strategy and when I want to attach some instruments, I have noticed that the following 24 pairs get removed once my strategy starts. Is that because they are not available, or is it because I am using a demo account or are there some other explanation, thanks!

Code to verify:
In Main:
 Set<Instrument> instruments = new HashSet<>();
        instruments.add(Instrument.EURTRY);
        instruments.add(Instrument.EURUSD);
        client.setSubscribedInstruments(instruments);


In Strategy.onStart:
       instruments = context.getSubscribedInstruments(); <= Now only one entry, EURUSD.


Pairs that are unregisterable:
btcusd
chfpln
ethusd
eurbrl
eurczk
eurhuf
eurmxn
eurpln
eurrub
eurthb
eurtry
eurzar
hufjpy
mxnjpy
nzdsgd
usdbrl
usdczk
usdhuf
usdils
usdron
usdrub
usdpln
usdthb
usdtry

Author:  Platform Support [ Tue 18 Feb, 2020, 19:57 ]
Post subject:  Re: Unable to trade/register pairs

You have to accept the "Exotic Instruments Disclaimer" and "Cryptocurrencies Disclaimer" in the user interface of the platform. You can find them in "Preferences/Disclaimers" or they will pop-up when you try to subscribe to them.

  Page 1 of 1