43 if (!
string.IsNullOrEmpty(destinationDir))
45 Directory.CreateDirectory(destinationDir);
46 Log.
FilePath = Path.Combine(destinationDir,
"log.txt");
50 Log.
Trace($
"Engine.Main(): LEAN ALGORITHMIC TRADING ENGINE v{Globals.Version} Mode: {mode} ({(Environment.Is64BitProcess ? "64
" : "32
")}bit) Host: {Environment.MachineName}");
51 Log.
Trace(
"Engine.Main(): Started " + DateTime.Now.ToShortTimeString());
70 return systemHandlers;