Dukascopy
 
 
Wiki JStore Search Login

Corrupted AUDCAD History - Cannot decode 7zip compressed fil
 Post subject: Corrupted AUDCAD History - Cannot decode 7zip compressed fil Post rating: 0   New post Posted: Tue 17 Jan, 2012, 22:42 

User rating: 0
Joined: Fri 19 Aug, 2011, 20:29
Posts: 45
Location: Germany,
long prevBarTime = history.getPreviousBarStart(Period.ONE_HOUR, history.getLastTick(Instrument.AUDCAD).getTime());
List<IBar> bars = history.getBars(Instrument.AUDCAD, Period.ONE_HOUR, OfferSide.BID, Filter.WEEKENDS,5000, prevBarTime,0);

on AUDCAD Hourly produces:

21:38:06 com.dukascopy.charts.data.datacache.DataCacheException: Cannot decode 7zip compressed file [...forex\cache\.cache\AUDCAD\2011\02\BID_candles_hour_1.bi5]

Less bars = no error.

All others are fine.


 
 Post subject: Re: Corrupted AUDCAD History - Cannot decode 7zip compressed Post rating: 0   New post Posted: Wed 18 Jan, 2012, 06:37 
User avatar

User rating: 0
Joined: Tue 05 Jul, 2011, 15:21
Posts: 28
Location: Switzerland,
Seems that data on historical server has been reduced in order to get at least some stability. I'm getting following exception from JForex API

2012-01-18 06:14:03.673 WARN CurvesJsonProtocolHandler - Server returned HTTP response code: 403 for URL: https://www.dukascopy.com/datafeed/CHFJP ... hour_1.bi5
java.io.IOException: Server returned HTTP response code: 403 for URL: https://www.dukascopy.com/datafeed/CHFJP ... hour_1.bi5 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

not only for CHFJPY but also for CADCHF, USDCHF, GBPCHF, AUDCHF and NZDCHF (converting to CHF as my base currency)


 
 Post subject: Re: Corrupted AUDCAD History - Cannot decode 7zip compressed fil Post rating: 0   New post Posted: Wed 18 Jan, 2012, 16:46 

User rating: 4
Joined: Mon 19 Sep, 2011, 09:55
Posts: 29
Location: Germany,
Same problem here. Each day when I start the platform there are gaps in the charts, that is the data is corrupt. On any instrument that I use. Time frames vary.
These problems have started just recently. I also use IHistory.getBars() to plot my own charts and it is a mess.


 

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