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.

historical news messages
 Post subject: historical news messages Post rating: 0   New post Posted: Mon 17 Jun, 2013, 12:40 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
I have been searching the docs for something like IHistory.getCalendarMessages().
Is there any way in the API to access historical news messages?


 
 Post subject: Re: historical news messages Post rating: 0   New post Posted: Mon 17 Jun, 2013, 12:50 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
No you only receive calendar events as they get fed and news as they happen.


 
 Post subject: Re: historical news messages Post rating: 0   New post Posted: Mon 17 Jun, 2013, 20:56 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
The live JForex client is able to display historical news/calendar information from years ago (when I never ran it). How is this possible since the JForex Client is presumably built on the JForex API? Or does it make use of a separate news API?


 
 Post subject: Re: historical news messages Post rating: 0   New post Posted: Tue 18 Jun, 2013, 06:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can cause Calendar/News feeding from SDK or platform and listen to the messages from the strategy, see:
https://www.dukascopy.com/wiki/#JForex_SDK/News_and_Calendar
Note that this will work only with live data and not in the historical tester.


 
 Post subject: Re: historical news messages Post rating: 0   New post Posted: Tue 18 Jun, 2013, 09:34 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
Okay thanks. So is the only way to retrieve historical news from within a strategy, to start and stop an anonymous live strategy (to serve as a listener), from within the main strategy?


 
 Post subject: Re: historical news messages Post rating: 0   New post Posted: Tue 18 Jun, 2013, 11:32 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See more here:
viewtopic.php?f=65&t=46771


 

Jump to:  

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