back to projects

CopyBot

Python · Blockchain · Data

A Python-based system for monitoring, analyzing, and optimizing Solana copy-trading wallets using real-time on-chain data and post-trade performance tracking.

Overview

CopyBot is a multi-service Solana analytics tool designed to evaluate the effectiveness of copy-trading strategies. It ingests real-time wallet activity via webhooks, enriches trades with market and risk data, and tracks post-purchase token performance using delayed OHLCV analysis.

Based on historical performance, the system periodically identifies underperforming or inactive wallets and replaces them with higher-performing candidates sourced from on-chain analytics platforms. The project emphasizes automation, asynchronous execution, and data-driven decision-making. The current version is under active rewrite, with core logic being refactored for robustness and scalability.

Key Features

  • Real-time Solana wallet monitoring via Helius webhooks
  • Trade parsing and enrichment with pricing, metadata, and risk scores
  • Delayed OHLCV-based PNL tracking for first-holder entries
  • Automated wallet performance evaluation and replacement logic
  • Discord-based alerts and reporting pipeline
  • Modular, scheduled async bot architecture

Challenges & Solutions

The main challenge was coordinating multiple data sources with different latency and rate limits while maintaining consistent state across services. This was addressed by decoupling ingestion, analysis, and optimization into independent bots orchestrated through an asynchronous scheduler and lightweight local data stores.