Changed for MGSH
This commit is contained in:
1355
ViewModels/MGSHMomentumViewModel.cs
Normal file
1355
ViewModels/MGSHMomentumViewModel.cs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -213,6 +213,7 @@ namespace TradeBlotter.ViewModels
|
||||
new CommandViewModel("ETFHoldings",new RelayCommand(ParamArrayAttribute=>this.ViewETFHoldings())),
|
||||
new CommandViewModel("Trade Models",new RelayCommand(ParamArrayAttribute=>this.ViewTradeModels())),
|
||||
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("CMTTrend Model",new RelayCommand(ParamArrayAttribute=>this.ViewCMTTrendGenerator())),
|
||||
new CommandViewModel("Options",new RelayCommand(ParamArrayAttribute=>this.ViewOptions())),
|
||||
@@ -314,6 +315,7 @@ namespace TradeBlotter.ViewModels
|
||||
}
|
||||
this.SetActiveWorkspace(workspace);
|
||||
}
|
||||
|
||||
private void ViewMomentumGenerator()
|
||||
{
|
||||
MomentumViewModel workspace = new MomentumViewModel();
|
||||
@@ -322,6 +324,16 @@ namespace TradeBlotter.ViewModels
|
||||
this.Workspaces.Add(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()
|
||||
{
|
||||
CMMomentumViewModel workspace = new CMMomentumViewModel();
|
||||
|
||||
Reference in New Issue
Block a user