Back to projects

Crypto Trade Agent

An AI-driven crypto signal terminal that auto-validates setups against live Binance market data and runs them through a server-side risk engine for paper trading. Built around a one-minute Vercel Cron heartbeat with anti-spam guardrails so noise never reaches the trade log.

Built With

Next.jsTypeScriptSupabaseBinance APIVercel CronTailwind CSS

Project Timeline

Discovery / Goal

Mar 2026

Identified a need for a crypto signal terminal that doesn't just display ideas but automatically validates and paper-trades them. The goal was a secure, anti-spam execution loop that simulates real market conditions end-to-end.

Design Decisions

Mar 2026

Separated signal generation from execution. Built a server-side risk engine to validate every trade and used Vercel Cron to fire one-minute heartbeat cycles, all while keeping a premium dashboard aesthetic.

Schema & Persistence

Mar 2026

Modelled trades, configurations, and run telemetry in Supabase with row-level security. Added explicit metadata such as `market_regime` and `setup_strength_score` to make later strategy analysis tractable.

Implementation

Mar 2026

Built the dashboard with dynamic trading modes, layered the risk management rules, and constructed `run-bot` endpoints for signal ingestion, validation, and order simulation.

Testing & QA

Apr 2026

Verified the build locally, enforced strict 404 behaviour on unknown routes, kept all API keys server-side via Vercel environment variables, and stress-tested duplicate-prevention limits under bursty cron firing.

Deployment

Apr 2026

Pushed to Vercel production with environment variables synced, Cron jobs registered, and Supabase migrations applied through the deploy pipeline.

Iterations

Apr 2026

Added a soft-reset workflow to preserve telemetry across reseeds and refined the strength-scoring weights based on the first weeks of paper-trade results.