Projects
CryptoTradingBot
Python-based trading script that utilizes the Binance API to analyze and trade cryptocurrency data with SMA, RSI, MACD, and Bollinger Bands.
View on GitHub#python#binance#trading#crypto#algorithmic-trading
CryptoTradingBot
CryptoTradingBot is a Python-based trading script that utilizes the Binance API to analyze and trade cryptocurrency data. It uses technical indicators such as SMA (Simple Moving Average), RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), and Bollinger Bands to help identify trading opportunities. Additionally, it calculates Fibonacci retracement levels and provides a basic system for stop loss and take profit levels.
📊 Features
- Binance Data Retrieval: Fetch real-time market data for specified cryptocurrency pairs (default is ETHUSDT)
- Technical Indicators:
- Fibonacci Retracement Levels: Automatically calculates key Fibonacci levels based on recent price data
- Position Decision: Decides whether to open a long or short position based on technical indicators
- Risk Management: Includes basic calculations for stop loss and take profit levels
⚙️ Requirements
bash
pip install -r requirements.txtRequired libraries: pandas, talib, matplotlib, binance
🚀 Getting Started
bash
git clone https://github.com/manuelsaraceni/CryptoTradingBot.git
cd CryptoTradingBot
python trading_script.py📈 Example Output
bash
Apertura posizione LONG a 2000.00
Stop Loss: 1960.00, Take Profit: 2080.00🔧 Customization
- Modify the
symbol(default is ETHUSDT) to any other cryptocurrency pair - Adjust the
intervalandlimitparameters for different timeframes - Adjust risk and reward values for stop loss and take profit levels
🚨 Disclaimer: This script is intended for educational purposes only. Use it at your own risk.