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.

IHistory.getBar() it is to obtain data from the server or local cache ?
 Post subject: IHistory.getBar() it is to obtain data from the server or local cache ? Post rating: 0   New post Posted: Sat 16 May, 2015, 04:17 

User rating: 0
Joined: Mon 11 May, 2015, 16:35
Posts: 8
IHistory.getBar() it is to obtain data from the server or local cache ?

if the bar data in local cache is wrong, how to correct them ?


 
 Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? Post rating: 0   New post Posted: Mon 18 May, 2015, 08:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
If data is not in cache it is loaded from server and saved in the cache. Otherwise JClient reads the data from cache.
To redo download from server you can delete existing cache folders. Cache directory can be found in Tools > Preferences > Advanced.


 
 Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? Post rating: 0   New post Posted: Mon 18 May, 2015, 10:16 

User rating: 0
Joined: Mon 11 May, 2015, 16:35
Posts: 8
IHistory.getBar(Instrument,Period, OfferSide, int)'s code comments did not indicate reads data from server or cache.

IHistory.getBar(Instrument,Period, OfferSide, int) and IHistory.getBars(Instrument, Period, OfferSide, Filter, long, long) the reads data mode is same?


 
 Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? Post rating: 0   New post Posted: Tue 19 May, 2015, 09:34 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There are no specific methods to read data from server or cache.


 

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