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.

DataCacheUtils
 Post subject: DataCacheUtils Post rating: 0   New post Posted: Thu 04 Nov, 2010, 18:19 

User rating: 0
Joined: Thu 12 Aug, 2010, 11:09
Posts: 5
Hello Support,

I am not quite sure how to call getChunkStart() - i cant find a constructor method in class dataCacheUtils as provided here:

https://www.dukascopy.com/swiss/english/ ... ?version=1


 
 Post subject: Re: DataCacheUtils Post rating: 0   New post Posted: Fri 05 Nov, 2010, 22:34 

User rating: 0
Joined: Thu 12 Aug, 2010, 11:09
Posts: 5
nobody able to help?


 
 Post subject: Re: DataCacheUtils Post rating: 0   New post Posted: Tue 09 Nov, 2010, 10:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You dont need to construct this object. All methods are static. You can call it directly DataCacheUtils.getChunkStart


 
 Post subject: Re: DataCacheUtils Post rating: 0   New post Posted: Tue 09 Nov, 2010, 13:21 

User rating: 0
Joined: Thu 12 Aug, 2010, 11:09
Posts: 5
Thanks for the answer.

I tried that but Eclipse keeps telling me that it cannot resolve DataCacheUtils to a Datatype though I have the correct imports I think:

import com.dukascopy.dds2.greed.*;
import com.dukascopy.charts.data.datacache.*;


 
 Post subject: Re: DataCacheUtils Post rating: 0   New post Posted: Wed 10 Nov, 2010, 15:34 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Make sure you correctly added this class in classpath or add it in correct package in your source directory


 

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