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.

Cache location in stand alone
 Post subject: Cache location in stand alone Post rating: 0   Post Posted: Wed 14 Dec, 2011, 17:24 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi,

I read in the documentation that the default cache location for stand alone mode is in

System.getProperty("java.io.tmpdir") + ".cache"


But it is not there.

Can you please advice where can I find the cache?

Also - would it be wise to set the stand alone cache to the JForex Client cache folder? (specifically in Range Bars scenario where the bars of two clients are totally different).


 
 Post subject: Re: Cache location in stand alone Post rating: 0   Post Posted: Fri 16 Dec, 2011, 09:17 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Cache is located in
for windows: System.getProperty("user.home")/Local Settings/JForex/temp/.cache
for thers: for windows: System.getProperty("user.home")/JForex/temp/.cache


 
 Post subject: Re: Cache location in stand alone Post rating: 0   Post Posted: Fri 16 Dec, 2011, 11:15 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi Support,

Can you please answer -

Is it considered a good practice to share the same cache location for both JForex API and JForex Client? specifically for Range Bars which are known to render different results by different clients (prior to ver 2.6.50)?


 
 Post subject: Re: Cache location in stand alone Post rating: 0   Post Posted: Fri 16 Dec, 2011, 13:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Cache location for standalone can be changed:
client.setCacheDirectory(new File("."));


 

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