Dukascopy
 
 
Wiki JStore Search Login

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.

Unable to trade/register pairs
 Post subject: Unable to trade/register pairs Post rating: 0   New post Posted: Fri 07 Feb, 2020, 11:07 
User avatar

User rating: 0
Joined: Sun 12 Mar, 2017, 19:24
Posts: 1
Location: DenmarkDenmark
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


 
 Post subject: Re: Unable to trade/register pairs Post rating: 0   New post Posted: Tue 18 Feb, 2020, 19:57 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1007
Location: Geneva, Switzerland
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.


 

Jump to:  

  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com