Developed the backend infrastructure for a cryptocurrency data-fetching and analysis system using Flask, Python, and APScheduler, with plans to deploy as a fully functional web application. The system fetches and analyzes real-time cryptocurrency data for Bitcoin, Dogecoin, and Ethereum, providing insights on pricing trends.
This allows users to fetch real-time and historical cryptocurrency data from multiple sources (including Binance, CoinGecko, and CoinMarketCap) using their respective APIs. The data is then processed and visualized to aid in analysis.
Key Features:
- Fetches OHLCV (Open, High, Low, Close, Volume) data for cryptocurrencies.
- Supports multiple cryptocurrency exchanges like Binance and Kraken.
- Data visualization using matplotlib.
- Includes retry logic for handling temporary API issues or rate limits.
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/maicaalmonte/cryptic.git cd cryptic
- Create virtual environment
python -m venv .venv
- Activate the virtual environment:
-
On Windows:
.venv\Scripts\activate
-
On macOS/Linux:
source .venv/bin/activate
- Install Requirement
pip install -r requirements.txt
- Run the script:
python maica.py
Usage
Once you've set up the project and installed all the dependencies, you can run the script to fetch and visualize cryptocurrency data.
For example, to fetch data from Kraken for the BTC/USD pair, you can run:
python your_script_name.py