Big Data Lake Solution for Warehousing Stock Data and Tweet Data
Created by Stuart Miller, Paul Adams, and Rikel Djoko.
Table of Contents
- Problem Statement
- Overview of the Big Data Solution
- Data Warehouse Overview
- Big Data Solution Implementation
- Results
- Reports
Problem Statement
We want to build a large-scale data framework that will enable us to store and analyze financial market data as well as drive future predictions for investment.
For this project, we will use the following types of data.
- Daily stock prices for all companies traded on the NYSE and the NASDAQ.
- Intra-day values for all companies traded on the NYSE and the NASDAQ.
- Prices: high, low, open, close,
- Supporting Values: Brollinger Bands, stochastic oscillators, and moving average CD
- Intra-day values are at 15 minute intervals
- Tweets from over 100 investment related twitter accounts
Overview of the Big Data Solution
Data Warehouse Overview
Two star schemas were designed for this data warehouse: a fully normalized schema and a denormalized schema. We will investigate the performance of the two schemas in the context of this problem. Conceptual diagrams of the data warehouse schemas are shown below.
More detailed schema diagrams were created with MySQL WorkBench the schema design can be accessed here.
Snowflake Schema
A diagram of the dataware house snowflake schema is shown below.
Denormalized Star Schema
A diagram of the dataware house star schema is shown below.
Big Data Solution Implementation
The big data solution is build on AWS.
Results
Queries were run on the two schemas with different EMR cluster sizes to see the impact of normalization on query time. The collected data is located here. A plot summarizing the results is shown below.
Reports
These reports were created during the course of this project.
- Project Proposal: Initial proposal regarding the problem and the proposed solution for investigation.
- Initial Project Presentation: A high level overview of the project idea and current status.
- Final Project Presentation: A presentation describing the project goals, findings, and conclusions.
- Project Paper: A paper describing the project.