# Binance Price Prediction with Random Forest
π This Python script uses historical candlestick data from the Binance API to train a Random Forest classifier, predicting price movements for the next 4 periods.
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/MrBug123/Binance-Prediction.git-
Navigate to the project directory:
cd Binance-Prediction -
Install required modules using
pip:pip install -r requirements.txt
-
Run the script:
python binance_price_prediction.py
-
View the accuracy and prediction for the next 4 periods.
- π Fetches historical data from Binance API.
- π€ Trains a Random Forest classifier for price prediction.
- π Evaluates model accuracy.
- π Predicts the next 4 periods.
- Binance API Endpoint: https://api.binance.com/api/v3/klines
- Symbol: BTCUSDT
- Interval: 5 minutes
- This script is for educational purposes and should not be used for actual trading.
- Always practice responsible algorithmic trading and consider the risks involved.
- Consult with financial experts before making any trading decisions.