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 load tick data for the (IHistory) History Data Service from a database instead of cache files on disk
 Post subject: How to load tick data for the (IHistory) History Data Service from a database instead of cache files on disk Post rating: 0   New post Posted: Thu 07 Nov, 2013, 13:11 

User rating: 0
Joined: Wed 04 Sep, 2013, 18:58
Posts: 2
Location: South AfricaSouth Africa
The Dukascopy wiki has a good example of how to write tick data in a MySQL database:
https://www.dukascopy.com/wiki/#Write_ticks_in_MySQL

I would like to use the above example to write tick data in MySQL,
and then read this data back as the source data for the Historical Data Service (IHistory).

Is this possible, and if so, please could you kindly provide an example?

Many thanks,
Nic


 
 Post subject: Re: How to load tick data for the (IHistory) History Data Service from a database instead of cache files on disk Post rating: 0   New post Posted: Thu 07 Nov, 2013, 13:27 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
nicdesousa wrote:
then read this data back as the source data for the Historical Data Service (IHistory).
You can't modify historical data that the JForex-API or the platform uses.


 
 Post subject: Re: How to load tick data for the (IHistory) History Data Service from a database instead of cache files on disk Post rating: 0   New post Posted: Thu 07 Nov, 2013, 13:50 

User rating: 0
Joined: Wed 04 Sep, 2013, 18:58
Posts: 2
Location: South AfricaSouth Africa
Thank you for the quick response!

To clarify:
I do not want to modify the history data - I want to change the storage and retrieval mechanism that is used for the data.
I.e. I would like to replace the .bi5 files with a database.

Would this be possible?


 
 Post subject: Re: How to load tick data for the (IHistory) History Data Service from a database instead of cache files on disk Post rating: 0   New post Posted: Thu 07 Nov, 2013, 13:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Our previous answer also implies that you neither can change the data source.


 

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