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.

how to get all subscribed instruments?
 Post subject: how to get all subscribed instruments? Post rating: 0   New post Posted: Fri 13 Aug, 2010, 14:12 

User rating: -
Hi people! So i have a java class that is implementing IStrategy. There is a method of this class
[code]
public void onTick(Instrument instrument, ITick tick) throws JFException {...}
[code/]
in this method application is catching incoming instruments that are subscribed. So how can i get a list of these suscribed instruments before my application starts?


 
 Post subject: Re: how to get all subscribed instruments? Post rating: 0   New post Posted: Fri 13 Aug, 2010, 18:27 

User rating: 0
Joined: Wed 18 May, 2011, 11:25
Posts: 60
Location: DE
have a look at the api docs https://www.dukascopy.com/swiss/docs/api/index.htm
-> IContext -> getSubscribedInstruments()


greetings,
tom


 

Jump to:  

  © 1998-2025 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