$BTC 🪙 Simple Binance Trading Bot Project (Python)
🔧 Features:
Connect to Binance using API keys
Get real-time prices for a crypto pair (e.g., BTC/USDT)
Place a test buy/sell order
Log prices and orders
---
📁 Project Structure:
binance_trade_bot/
├── config.py
├── trade_bot.py
├── requirements.txt
---
1️⃣ config.py – Store Your API Keys
API_KEY = "your_api_key_here"
API_SECRET = "your_api_secret_here"
---
2️⃣ trade_bot.py – Main Bot Logic
from binance.client import Client
from config import API_KEY, API_SECRET
import time
# Initialize client
client = Client(API_KEY, API_SECRET)