In Progress

AWS Data Pipeline

Automated serverless data pipeline ingesting Finnhub stock data via EventBridge and Lambda, transformed with Glue and Athena, visualised with QuickSight dashboards.

Overview

A fully serverless data pipeline on AWS that pulls stock market data from the Finnhub API, stores it in an S3 data lake, transforms it with AWS Glue, queries it with Athena, and visualises trends in QuickSight dashboards — all triggered automatically on a schedule with EventBridge.

System Architecture

1

Data Source

Finnhub API

Real-time and historical stock market data — prices, company profiles, news, and earnings.

2

Ingestion

EventBridge + Lambda

EventBridge triggers Lambda on a schedule to fetch data from Finnhub API and store raw JSON in S3.

3

Transformation

AWS Glue

Crawlers auto-detect schemas. ETL jobs clean, deduplicate, and transform raw data into queryable Parquet format.

4

Storage

S3 Data Lake

Raw, processed, and curated layers — partitioned by date and ticker for efficient querying.

5

Query Engine

Amazon Athena

Serverless SQL queries directly on S3 data. No infrastructure to manage — pay per query.

6

Visualisation

QuickSight

Interactive dashboards showing stock performance, volume trends, and sector comparisons.

7

Scheduling

EventBridge Scheduler

Daily triggers for ingestion and transformation, keeping dashboards up to date automatically.

Data Flow

Finnhub APILambdaS3 RawGlue ETLS3 ProcessedAthenaQuickSight

Tech Stack

PythonAWS LambdaEventBridgeS3AWS GlueAthenaQuickSightFinnhub APIParquetSQL