|
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 ? |
tomjackson
|
Post subject: IHistory.getBar() it is to obtain data from the server or local cache ? |
Post rating: 0
|
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 ?
|
|
|
|
 |
API Support
|
Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? |
Post rating: 0
|
Posted: Mon 18 May, 2015, 08:53
|
|
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.
|
|
|
|
 |
tomjackson
|
Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? |
Post rating: 0
|
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?
|
|
|
|
 |
API Support
|
Post subject: Re: IHistory.getBar() it is to obtain data from the server or local cache ? |
Post rating: 0
|
Posted: Tue 19 May, 2015, 09:34
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There are no specific methods to read data from server or cache.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|