|How to restore the database when the power is cut
|Page 1 of 1|
|Author:||jchen [ Tue Jul 09, 2013 7:03 pm ]|
|Post subject:||How to restore the database when the power is cut|
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
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.
|Author:||douv [ Fri Dec 20, 2013 1:09 pm ]|
|Post subject:||Re: How to restore the database when the power is cut|
why not use the build in Recorder in OpenQuant?
|Page 1 of 1||All times are UTC + 3 hours|
|Powered by phpBB® Forum Software © phpBB Group