Skip to content

This repository contains a Python script to fetch, process, and analyze cryptocurrency data from Binance. It retrieves historical price data and funding rates, calculates the Relative Strength Index (RSI), and merges the data into a single dataset for analysis. The data is then saved as a CSV

Notifications You must be signed in to change notification settings

aliuosio/crypto-prognose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binance Data Analysis Script

This repository contains a Python script to fetch, process, and analyze cryptocurrency data from Binance. It retrieves historical price data and funding rates, calculates the Relative Strength Index (RSI), and merges the data into a single dataset for analysis. The processed data is then saved as a CSV file.

Features

  • Fetch historical price data from Binance.
  • Fetch funding rate data for futures trading pairs.
  • Calculate the Relative Strength Index (RSI) for price data.
  • Merge historical price data and funding rate data into a unified dataset.
  • Convert timestamps to German timezone (Europe/Berlin) in the format YYYY-MM-DD HH:MM.
  • Save the combined data into a CSV file.
  • Plot for Price and RSI Development

Requirements

Before running the script, ensure you have the following installed:

  • Python 3.8+
  • Required Python packages (see below)

Docker Enviroment

docker compose up -d
docker compose logs -f
docker compose exec -it python bash

Usage

# create CSV
python app/main.py 

# create plot from CSV
python app/indicators.py

About

This repository contains a Python script to fetch, process, and analyze cryptocurrency data from Binance. It retrieves historical price data and funding rates, calculates the Relative Strength Index (RSI), and merges the data into a single dataset for analysis. The data is then saved as a CSV

Resources

Stars

Watchers

Forks

Releases

No releases published