Skip to content

terrysean7868-prog/Crypto-Bot

Repository files navigation

Crypto Trading Bot

Quick Start

Start Trading

\\�ash python app/main.py \\

Monitor Performance


Configuration

Default Settings (\config/app.yaml)

\\yaml

Operating Mode

mode: live # 'paper' = simulation, 'live' = real trading

Strategy: Bollinger Mean Reversion (ONLY)

strategies:

  • name: bollinger_mean_reversion leverage: 30 position_size: 0.01 # 1% of account (initial phase)

Trading Pairs

symbols:

  • BNB/USDT
  • XRP/USDT

Risk Management

max_day_loss: 5.0 # Max 5% daily loss max_open_trades: 2 # Max 2 concurrent positions poll_seconds: 10 # Data fetch interval

Deployment Phase

phase: live # 'live' = live deployment \\


Project Structure

\
crypto-bot/ app/ main.py # Bot entry point config/ app.yaml # Strategy configuration core/ strategies/ bollinger_mean_reversion.py # Main strategy (ONLY) executor/ paper.py # Paper trading executor live.py # Live trading executor exchange/ delta.py # Delta Exchange client utils/ loader.py # Strategy loader indicators.py # Technical indicators telegram_bot.py # Telegram integration notebooks/ # (removed for live deployment) runtime/ runner.py # Bot runner (SINGLE STRATEGY) logs/ bot.log # Trading logs README.md # This file requirements.txt # Dependencies .env # API credentials (local only) \\


Installation & Running

Local Development

\\�ash

Install dependencies

pip install -r requirements.txt

Configure .env with API credentials

TELEGRAM_TOKEN=your_token TELEGRAM_CHAT_ID=your_chat_id

Run bot (starts in paper mode)

python app/main.py \\

Docker Deployment

\\�ash docker build -t crypto-bot . docker run -e MODE=paper -p 8000:8000 crypto-bot \\


Created: December 2024 Version: 1.0 Last Updated: December 11, 2025

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published