Code Monkey home page Code Monkey logo

stock-etl-aws's Introduction

Complete stock market data pipeline with AWS

PART-1

  1. Pull yesterday's NASDAQ stock data from https://finance.yahoo.com/
  2. Write raw data to S3
       - This bucket shall be created with boto3
  3. Trigger this event daily with AWS Lambda and CloudWatch
       - After NASDAQ normal trading session which is between 9:30 AM - 4:00 PM

PART-2

  1. Daily running AWS Glue crawler to catalog data
  2. AWS Athena for raw data analysis and exploration

Technologies and Tools

yfinance API (https://github.com/ranaroussi/yfinance), AWS S3, Lambda, CloudWatch, Glue, Athena

Files

1. Source/etl.py            : Entry point and actual ETL performer using other files in the repository.
2. Source/infrastructure.py : AWS infrastructure (as a code) functions.
3. Source/utils.py          : Column names (for future analysis) and NASDAQ stocks dictionary reside in this file.
4. Source/dl.cfg            : Contains access, secret access keys and redshift database configuration information.
5. config.cfg               : Contains keys, bucket name and region information to be used within the project.
6. requirements.txt         : Contains libraries used.
7. 2023-09-22.csv           : Sample NASDAQ stock data fetched on 22 Sept 2023.

Author

Arda Aras

stock-etl-aws's People

Contributors

ardaaras avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.