SQX 116 - Complete loss of strategies from Builder 'Results' databank upon PC crash

Hi Mark

After running SQX 116 on 2x PC's for a whole week, collating in Builder 'Results' databanks >1800 potential strategies, there was a momentary drop-out of my electricity supply last night, forcing both my PC's to crash and re-start. Much to my surprise I completely lost the whole week's worth of strategies in both 'Results' databanks. This would not have happened with SQ 3.8.2, which always saved all strategies in Build Strategies 'Databank' to disk; recognised a crash event and give option to restore these strategies upon re-start of SQ 3.8.2. Much to my dismay, this clearly does not happen by default with SQX 116:


  1. Why did this happen with SQX 116?
  2. Is there any way to recover my week's worth of strategies that were previously placed in the 'Results' databank, or are they now lost forever?
  3. What can I do now, to avoid this situation repeating in future? i.e. all potential strategies in Builder 'Results' databank to be saved to disk, and not lost upon SQX or PC crash?
  4. I notice in 'Configuration\Databanks' there is setting 'Use file based databanks', but this setting is not activated by default and is marked as 'Not Recommended' due to causing SQX to slow down. Would activating this setting have saved my week's worth of strategies located in Results databank? If so, I suggest you alter description to clearly indicate to all users that not activating this setting will result in the complete loss of strategies in Builder 'Results' databank, upon crash of SQX or PC
  5. Does SQX need to be modified to prevent this situation repeating in future, or is activation of the above setting the correct and most efficient solution? I am mainly interested in saving to disk those strategies that have already been added to Builder 'Results' databank. I am far less concerned about saving to disk 'Initial population' or 'Last generation' strategies.

Thanks
AC1962

Attachments
No attachments
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

AC
#1

AC1962

29.12.2018 11:26

Task created

Rr
#2

Partizanas

29.12.2018 13:45

Attachment Screenshot_1.png added

use auto-sync function
AC
#3

AC1962

29.12.2018 14:06
Great, thanks partizanas. Much appreciated!!

AC1962

AC
#4

AC1962

30.12.2018 11:41
Hi Mark

To aid new users of SQX, please can you:

  1. Add description about the 'Auto-sync' feature in next up-issue of SQX User's Guide
  2. Currently 'Auto-sync ...' defaults, and resets, to "Auto-sync never". Please can you change this default setting to any time period setting (I suggest 10min), other than "Auto-sync never". Now knowing that a system crash can result in the complete loss of strategies in Results Databank, I do not see why anyone would want to use a default setting of "Auto-sync never", except maybe for testing.
  3. If possible, mirror the "Auto-sync ..." drop-down setting in 'Configuration \ Databanks' tab. This would seem to me the most obvious location for this setting

Thanks

AC1962

rg
#5

Robert Gergelyi

30.12.2018 18:36
Voted for this task.
MF
#6

Mark Fric

13.06.2019 15:02

Status changed from New to Fixed


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please