SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Tue Oct 20, 2020 12:36 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jul 09, 2013 7:03 pm 
Offline

Joined: Tue Sep 11, 2012 12:41 pm
Posts: 41
Hi,

What should I do to restore the database when the power is cut by accident?

In my strategy, I am recording 1 min data, but I didn't use DataManager.flush() to save data to disk.

After I restore the power, I found that not only today's data is missing, but also I can't retrieve today's historical data from IQfeed. In downloading historical data window, for the first ticker, message says:

09/07/2013 11:10:31 Provider: IQFeed
Id: -1
Code: -1
Message: [OnReceive] *error* <History>: The given key was not present in the dictionary.


Is the database broken? What should I do to prevent it happens again?

Thank you very much in advance.


Regards,

JC


Top
 Profile  
 
PostPosted: Fri Dec 20, 2013 1:09 pm 
Offline

Joined: Tue Oct 15, 2013 5:24 pm
Posts: 8
why not use the build in Recorder in OpenQuant?


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

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 5 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