Overview

Last updated: April 11, 2026

Crypto Trader Module Overview (cryptotrader)

The cryptotrader package implements a specialized trading bot for automated cryptocurrency market interactions.

Key Features

  • Live Exchange Data: Connects to crypto exchanges to fetch real-time price feeds.
  • Automated Strategy: Implements logic for executing trades based on pre-defined technical indicators.
  • Dashboard: Serves a dedicated monitoring dashboard on port :8778.
  • Safety Guards: Includes balance checks and "circuit breakers" to stop trading during periods of high market volatility.

Key Files

  • cryptotrader/cryptotrader.go: The core trading engine and web server.

Integration Flow

The cryptotrader operates as a semi-autonomous background service. It reports its status and performance (e.g., profit/loss) back to the assistant via the analyst agent, allowing the user to query their trading status via WhatsApp or Discord.

Guidance for AI Agents

  • Risk Warning: Never modify trading strategies or execute trades without explicit user confirmation.
  • Reporting: Use the cryptotrader status tools to provide the user with concise profit/loss briefings when asked.

Cross-References