public void dataLoad()
        {
            
            Factory_ELSGreekPosition factory = new Factory_ELSGreekPosition();
            viewModel_ = factory.viewModel();
            

        }
Beispiel #2
0
        public GreekPositionAnalyzerViewModel viewModel()
        {
            GreekPositionAnalyzerViewModel viewModel = new GreekPositionAnalyzerViewModel();

            //// StockList를 뜸

            //DataLoader_ELSUnderlyingStock loader = new DataLoader_ELSUnderlyingStock();

            //List<ELSUnderlyingStock> stockList = loader.ELSUnderlyingStockListLoad();

            //foreach (ELSUnderlyingStock stock in stockList)
            //{

            //    ObservableCollection<ELSStepDownGreekPositionViewModel> instList = this.getELS(stock);

            //    ELSUnderlyingViewModel underViewModel = new ELSUnderlyingViewModel(stock, instList);

            //    viewModel.UnderlyingViewModelList_.Add(underViewModel);

            //}

            return(viewModel);
        }
        public GreekPositionAnalyzerViewModel viewModel()
        {
            GreekPositionAnalyzerViewModel viewModel = new GreekPositionAnalyzerViewModel();
            
            //// StockList를 뜸

            //DataLoader_ELSUnderlyingStock loader = new DataLoader_ELSUnderlyingStock();

            //List<ELSUnderlyingStock> stockList = loader.ELSUnderlyingStockListLoad();

            //foreach (ELSUnderlyingStock stock in stockList)
            //{

            //    ObservableCollection<ELSStepDownGreekPositionViewModel> instList = this.getELS(stock);

            //    ELSUnderlyingViewModel underViewModel = new ELSUnderlyingViewModel(stock, instList);
                                
            //    viewModel.UnderlyingViewModelList_.Add(underViewModel);
                
            //}
            
            return viewModel;

        }
        public void dataLoad()
        {
            Factory_ELSGreekPosition factory = new Factory_ELSGreekPosition();

            viewModel_ = factory.viewModel();
        }