Code cleanup.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user