Changed for MGSH

This commit is contained in:
2025-02-06 16:42:51 -05:00
parent 3bc18779e0
commit 35e6e005b8
2 changed files with 1367 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -213,6 +213,7 @@ namespace TradeBlotter.ViewModels
new CommandViewModel("ETFHoldings",new RelayCommand(ParamArrayAttribute=>this.ViewETFHoldings())), new CommandViewModel("ETFHoldings",new RelayCommand(ParamArrayAttribute=>this.ViewETFHoldings())),
new CommandViewModel("Trade Models",new RelayCommand(ParamArrayAttribute=>this.ViewTradeModels())), new CommandViewModel("Trade Models",new RelayCommand(ParamArrayAttribute=>this.ViewTradeModels())),
new CommandViewModel("Momentum Model",new RelayCommand(ParamArrayAttribute=>this.ViewMomentumGenerator())), new CommandViewModel("Momentum Model",new RelayCommand(ParamArrayAttribute=>this.ViewMomentumGenerator())),
new CommandViewModel("MGSHMomentum Model",new RelayCommand(ParamArrayAttribute=>this.ViewMGSHMomentumGenerator())),
new CommandViewModel("CMMomentum Model",new RelayCommand(ParamArrayAttribute=>this.ViewCMMomentumGenerator())), new CommandViewModel("CMMomentum Model",new RelayCommand(ParamArrayAttribute=>this.ViewCMMomentumGenerator())),
new CommandViewModel("CMTTrend Model",new RelayCommand(ParamArrayAttribute=>this.ViewCMTTrendGenerator())), new CommandViewModel("CMTTrend Model",new RelayCommand(ParamArrayAttribute=>this.ViewCMTTrendGenerator())),
new CommandViewModel("Options",new RelayCommand(ParamArrayAttribute=>this.ViewOptions())), new CommandViewModel("Options",new RelayCommand(ParamArrayAttribute=>this.ViewOptions())),
@@ -314,6 +315,7 @@ namespace TradeBlotter.ViewModels
} }
this.SetActiveWorkspace(workspace); this.SetActiveWorkspace(workspace);
} }
private void ViewMomentumGenerator() private void ViewMomentumGenerator()
{ {
MomentumViewModel workspace = new MomentumViewModel(); MomentumViewModel workspace = new MomentumViewModel();
@@ -322,6 +324,16 @@ namespace TradeBlotter.ViewModels
this.Workspaces.Add(workspace); this.Workspaces.Add(workspace);
this.SetActiveWorkspace(workspace); this.SetActiveWorkspace(workspace);
} }
private void ViewMGSHMomentumGenerator()
{
MGSHMomentumViewModel workspace = new MGSHMomentumViewModel();
workspace.WorkspaceInstantiator = InstantiateWorkspace;
AddMenuItem(workspace);
this.Workspaces.Add(workspace);
this.SetActiveWorkspace(workspace);
}
private void ViewCMMomentumGenerator() private void ViewCMMomentumGenerator()
{ {
CMMomentumViewModel workspace = new CMMomentumViewModel(); CMMomentumViewModel workspace = new CMMomentumViewModel();