I've been having issues with live deployment crashing at times. My issue is when I re-deploy it won't run for the rest of the day due to lack of universe selection running again.

What I'd like to do is on CoarseSelectionFunction, output the IEnumerable<Symbol> result somewhere -- ideally a CSV file, but I suppose even just logging the Symbols in CSV format in the worst case would work, as I could manually create the CSV.

After that if the algorithm crashes, I'd like to re-deploy the algorithm but this time have it read the existing (or manually created from the log file, if I must) CSV file to re-select the symbols and continue until the end of day with those symbols.

Is there any examples on how to accomplish this? Thanks.