Skip to content

jdc338/CryptoAsset-DataPipeline

Repository files navigation

CryptoAsset-DataPipeline

Objective

The objective of this application is to gather, clean, and analyze real-time data for the top 1000 cryptocurrencies by market capitalization using the CoinMarketCap API. The project aims to provide valuable insights into cryptocurrency market trends, including price fluctuations, trading volume, and price change percentages over various timeframes. By storing the cleaned data in an SQLite database, the project enables efficient data retrieval and empowers users to interact with the data through an intuitive Streamlit web interface. This project ultimately seeks to facilitate data-driven decision-making in the cryptocurrency space and enhance the understanding of cryptocurrency market dynamics.

Technologies Used

CoinMarketCap API

The CoinMarketCap API is used to retrieve data for the top 1000 cryptocurrencies by market capitalization, providing various metrics such as price and trading volume.

Streamlit

Streamlit is used to create an interactive web interface for querying the cryptocurrency data and displaying insights.

Matplotlib

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.

Setup

Prerequisites

  1. Python 3.x
  2. Pip

Installation

  1. Clone the repository.

    git clone git@github.com:jdc338/CryptoAsset-DataPipeline.git 
  2. Navigate into the directory.

    cd CryptoAsset-DataPipeline
  3. Setting Up a Virtual Environment.

    To isolate the project dependencies, it's recommended to create a virtual environment. Run the following commands in your terminal to create and activate a virtual environment:

    On macOS and Linux:

    python3 -m venv venv
    source venv/bin/activate

    On Windows:

    python -m venv venv
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
    .\venv\Scripts\activate
  4. Install the required packages.

    pip install -r requirements.txt

API Keys

  1. You'll need an API key from CoinMarket Cap.

  2. Create a file named env.py in the project root directory.

  3. Store your API keys in env.py as environment variables. For example:

    os.environ.setdefault("CMC_API_KEY", "YOUR_API_KEY")

Usage

  1. User Interaction

    streamlit run interface.py

Minimal Viable Product (MVP)

  1. Evidence that appropriate and justified tools were used to extract the data.
  2. Evidence that data is cleaned and transformed to the desired format.
  3. Evidence of appropriate data handling practices
  4. Data storage facility chosen, facilitated and justified.
  5. Code is well-organised and easy to read.
  6. Clear documentation of each step.

Contributors

I hope you enjoy using the dashboard!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages