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.

Question of subscribeToTicksFeed(...)
 Post subject: Question of subscribeToTicksFeed(...) Post rating: 0   New post Posted: Sun 01 Feb, 2015, 08:02 
User avatar

User rating: 0
Joined: Sat 02 Aug, 2014, 10:12
Posts: 23
Location: China, Shijiazhuang
Hello,support!

I see that the description of the method - "public void subscribeToTicksFeed(Instrument instrument, ITickFeedListener listener)".
Is there a possible way to subscribe multiple instruments?
-----------
(I'm writing a plugin which will use the ticks of all the instruments.)

Waiting for the answer.
Thank you.

NS


 
The Best Answer  Post subject: Re: Question of subscribeToTicksFeed(...) Post rating: 0   New post Posted: Mon 02 Feb, 2015, 08:37 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hello, Skywalker!

You need to use subscribeToTicksFeed for each instrument you want to subscribe, see "Use multiple feeds" example here: https://www.dukascopy.com/wiki/#Chart_feeds


 
 Post subject: Re: Question of subscribeToTicksFeed(...) Post rating: 0   New post Posted: Mon 02 Feb, 2015, 08:42 
User avatar

User rating: 0
Joined: Sat 02 Aug, 2014, 10:12
Posts: 23
Location: China, Shijiazhuang
Thank you very much!


 

Jump to:  

  © 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