Created
May 17, 2012 06:36
-
-
Save vazexqi/2717020 to your computer and use it in GitHub Desktop.
Sequential analysis for stock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void doAnalysisSequential() { | |
StockDataCollection nyseData = loadNyseData(); | |
StockDataCollection nasdaqData = loadNasdaqData(); | |
StockDataCollection mergedMarketData = mergeMarketData(Arrays.asList(nyseData, nasdaqData)); | |
StockDataCollection normalizedMarketData = normalizeData(mergedMarketData); | |
StockDataCollection fedHistoricalData = loadFedHistoricalData(); | |
StockDataCollection normalizedHistoricalData = normalizeData(fedHistoricalData); | |
StockAnalysisCollection analyzedStockData = analyzeData(normalizedMarketData); | |
MarketModel modeledMarketData = runModel(analyzedStockData); | |
StockAnalysisCollection analyzedHistoricalData = analyzeData(normalizedHistoricalData); | |
MarketModel modeledHistoricalData = runModel(analyzedHistoricalData); | |
compareModels(Arrays.asList(modeledMarketData, modeledHistoricalData)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment