Skip to content

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

Notifications You must be signed in to change notification settings

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

No packages published