Code cleanup.

This commit is contained in:
2025-06-10 19:17:44 -04:00
parent 758ed01e06
commit 5bcb7a2b04
7 changed files with 0 additions and 22 deletions

View File

@@ -36,7 +36,6 @@ namespace PortfolioManager.ViewModels
private NVPDictionary nvpDictionary = null;
private String selectedParameter = null;
private String pathFileName;
private String initialPath;
private ModelPerformanceSeries modelPerformanceSeries = null;
private ModelStatistics modelStatistics = null;
private bool showAsGainLoss = true;
@@ -449,7 +448,6 @@ namespace PortfolioManager.ViewModels
try
{
if (!CMSessionManager.IsValidSessionFile(pathFileName)) return false;
initialPath = Path.GetDirectoryName(pathFileName);
sessionParams = CMSessionManager.RestoreSession(pathFileName);
if (null == sessionParams) { MxMessageBox.Show(GetTopLevelWindow(), String.Format("Unable to open {0}", pathFileName)); pathFileName = null; return false; }
modelStatistics = CMMomentumBacktest.GetModelStatistics(sessionParams);