A Python-based cryptocurrency trading analysis tool that leverages the Binance API to fetch and analyze historical price data for various trading pairs.
This project implements an intraday trading analysis system that allows users to:
- Fetch historical price data from Binance
- Analyze price movements and patterns
- Generate trading insights based on historical data
- Real-time data fetching from Binance API
- Historical price data analysis
- Customizable time intervals and trading pairs
- Data visualisation capabilities
- Python 3.13 or higher
- Binance API access
- Required Python packages:
- pandas
- python-binance
- matplotlib
- Clone the repository:
git clone https://github.com/pakagronglb/intraday-trading-edge-python.git
cd intraday-trading-edge-python- Install required packages:
pip install -r requirements.txt- Import the required libraries:
import pandas as pd
from binance.client import Client
from datetime import datetime, timedelta, UTC
import matplotlib.pyplot as plt- Initialize the Binance client:
client = Client()- Use the provided functions to fetch and analyze data:
df = getdata(symbol='BTCUSDT', interval='1h', lookback='300 day')The default configuration includes:
- Trading pair: BTCUSDT
- Time interval: 1 hour
- Lookback period: 300 days
You can modify these parameters in the getdata() function call.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This project is based on the work and teachings from Algovibes. Special thanks to Algovibes for providing the foundational knowledge and inspiration for this trading analysis tool.
This tool is for educational purposes only. Cryptocurrency trading involves significant risk, and past performance does not guarantee future results. Always do your own research and trade responsibly.
