Skip to content

crypto-agentAI/CryptoAI-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CryptoAI Agent 🤖💹

CryptoAI Agent is an AI-powered cryptocurrency trading assistant that automates trading strategies, generates actionable signals, and tracks portfolio performance across multiple cryptocurrencies, including BTC, ETH, DOGE, and custom trading pairs. Ideal for both beginners and professional traders looking to optimize their strategies with AI-driven insights.

CryptoAI Banner


🌟 Features

Feature Description
💹 Trading Signals Generates BUY, SELL, or HOLD signals using AI prediction models
⚙ Configurable Strategies Conservative (low-risk) or Aggressive (high-risk) strategies
🪙 Multi-Crypto Support BTC, ETH, DOGE, and custom trading pairs
📊 Simulation Mode Run automated trades with virtual balances to test strategies
📁 Reporting Export CSV reports and generate performance graphs
🕒 Adjustable Intervals Customize trading frequency in seconds or minutes
🔔 Notifications Optional Telegram or Email alerts for trade signals

🛠 Installation

git clone https://github.com/username/cryptoai-agent.git
cd cryptoai-agent
pip install -r requirements.txt

## ⚙ Configuration

Edit `config.yaml` to customize your trading setup:

```yaml
api_key: "YOUR_API_KEY"
secret_key: "YOUR_SECRET_KEY"
strategy: "conservative"
base_currency: "USD"
trade_pairs:
  - BTC/USD
  - ETH/USD
  - DOGE/USD
update_interval: 60  # Time interval between trades in seconds
simulation: true
notifications:
  telegram: false
  email: false

Switch strategies, update trade pairs, and adjust intervals to test different trading scenarios.


🧠 How It Works

  1. Fetches real-time market data from supported exchanges.
  2. AI module CryptoPredictor analyzes historical data and predicts potential price movements.
  3. Applies the selected strategy (Conservative or Aggressive).
  4. Executes trades in simulation mode or sends signals to your exchange API.
  5. Logs portfolio performance and generates CSV reports and visualizations.

📊 Example Simulation Output

[INFO] Starting CryptoAI Agent...
[INFO] BTC/USD: BUY signal | Confidence: 78%
[INFO] ETH/USD: HOLD | Confidence: 52%
[INFO] DOGE/USD: SELL signal | Confidence: 81%
[INFO] Portfolio: $10,432.50 (+4.3%)
[INFO] CSV report saved: reports/portfolio_2026-01-10.csv

📈 Portfolio Performance Graph (ASCII)

$10,500 ┤                 ╭─╮
$10,400 ┤          ╭─────╯ ╰─╮
$10,300 ┤       ╭──╯         ╰─╮
$10,200 ┤   ╭───╯               ╰─╮
$10,100 ┤───╯                     ╰─
       ──────────────────────────────
       Day 1   Day 2   Day 3   Day 4

🎨 Visual Elements

Dashboard

  • Multi-crypto performance charts
  • BUY/HOLD/SELL signal visualization
  • Portfolio growth tracking

🏆 Upcoming Features

  • Interactive visualizations via Plotly or Matplotlib
  • Support for multiple AI strategies simultaneously
  • Integration with test exchanges (Binance Testnet, Coinbase Sandbox)
  • Real-time alerts via Telegram or Discord

📂 Project Structure

cryptoai-agent/
│
├─ README.md          # This file
├─ requirements.txt   # Python dependencies
├─ config.yaml        # Configuration file
├─ cryptoai_agent/    # Main Python package
│   ├─ __init__.py
│   ├─ agent.py       # Core agent logic
│   ├─ predictor.py   # AI signal generation module
│   ├─ utils.py       # Helper functions
│
├─ reports/           # Automatically generated trade reports
├─ notebooks/         # Strategy analysis notebooks
└─ assets/            # Images and placeholder graphics

🏁 Getting Started

from cryptoai_agent.agent import Agent

agent = Agent(config_file="config.yaml")
agent.start()  # Start simulation or automated trading

📄 License

MIT License

About

An intelligent AI crypto trading assistant that predicts market trends, executes configurable strategies, tracks portfolios, and provides simulations and alerts for optimized trading decisions.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors