SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Thu Oct 01, 2020 10:18 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Dec 18, 2012 2:22 am 
Offline

Joined: Sat Feb 25, 2012 8:51 pm
Posts: 154
SharpZipLib.ZipException: CRC mismatch
at SharpZipLib.Zip.ZipInputStream.Read(Byte[] b, Int32 off, Int32 len)
at GCVVvWx0njgTJ6NYJy.cQK10O0UcFvmx5gjAc.OcZX3pMX5A(Int64 , Boolean )
at GCVVvWx0njgTJ6NYJy.cQK10O0UcFvmx5gjAc.E0yXsMccBG(sojoP0ZnXt2qex5xY1 , Int32 )
at GCVVvWx0njgTJ6NYJy.cQK10O0UcFvmx5gjAc.Vyqz9hWsJ(FileSeries , Int32 )
at GCVVvWx0njgTJ6NYJy.cQK10O0UcFvmx5gjAc.rrHNomhpj(FileSeries , DateTime , SearchOption )
at SmartQuant.File.FileSeries.IndexOf(DateTime datetime, SearchOption option)
at SmartQuant.Simulation.Simulator.ud5YnHI5W()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

The above error is happening on a backtest of a strategy. Could someone please help?

Thanks,

drolles


Top
 Profile  
 
PostPosted: Tue Dec 18, 2012 9:52 am 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Hi,

This error means that the historical database is broken.
Did you make a backup for it?

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Wed Dec 19, 2012 2:17 am 
Offline

Joined: Sat Feb 25, 2012 8:51 pm
Posts: 154
Not good news. it was a little while ago.

What's the next best step? I'm assuming it is clear down the current db? How best to do that?

Thanks,

drolles


Top
 Profile  
 
PostPosted: Wed Dec 19, 2012 9:33 am 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Hi,

run OQ, goto Options and find the location of Database files
(Database folder option on Configuration tab)
close OQ, and delete the following files from that directory
.data
.header
.index
file.xml
types.xml

you will start with empty historical database.

Or, if you want to restore previous backup, run Database Manager utility and select Database->Restore option.

_________________
SmartQuant Development Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group