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.

You cannot subscribe to: USD/RUB without "Exotic Instrument Disclaimer" acceptance
 Post subject: You cannot subscribe to: USD/RUB without "Exotic Instrument Disclaimer" acceptance Post rating: 0   New post Posted: Tue 06 Nov, 2018, 00:43 

User rating: 18
Joined: Thu 20 Apr, 2017, 22:42
Posts: 165
Location: Russian Federation,
Subscription of strategy for some instruments fails with following error
Quote:
You cannot subscribe to: USD/RUB without "Exotic Instrument Disclaimer" acceptance

Code to reproduce the problem
    public void onStart(IContext context) throws JFException {
        Set<Instrument> instrumentsToSubscribe = new HashSet<>(asList(Instrument.fromString("USD/RUB")));
        context.setSubscribedInstruments(instrumentsToSubscribe);
    }

I do not see any disclaimers pending for "accept" in Setting -> Preferences -> Disclaimers.

Any suggestions how to fix that problem?


 
 Post subject: Re: You cannot subscribe to: USD/RUB without "Exotic Instrument Disclaimer" acceptance Post rating: 0   New post Posted: Fri 09 Nov, 2018, 15:36 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Thanks for information.

Problem was determined and will be fixed in next JForex release.


 

Jump to:  

cron
  © 1998-2024 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