0
Home About Projects Blog Contact
DjangoFastAPIFlaskLangchainMCPPostgreSQLRAGredis

Alpharexx, AI SaaS Crypto Intelligence Platform

Alpharexx is an enterprise-grade AI SaaS crypto platform. Moving far beyond a standard dashboard, it integrates 24/7 machine-learning-driven market scanning, personalized Telegram alerts, a FastAPI-powered Shariah compliance auditor, and a fully functional social network for traders. The backend runs on a massive orchestration layer designed for high concurrency, real-time WebSocket streaming via Django Channels, and heavy background processing through Redis and Celery.

Alpharexx, AI SaaS Crypto Intelligence Platform

The Challenge

The biggest hurdle was managing concurrency and system stability. When you combine 24/7 exchange API polling, live ML model evaluations, live WebSocket audio streaming, and bulk Telegram broadcasting, the system can easily bottleneck and crash.

I needed to make sure that a sudden spike in market volatility (triggering hundreds of signals) wouldn't delay the AI voice agent's response time or cause the social feed to lag. Keeping the core system clean, debuggable, and scalable under these extreme, concurrent loads was a massive architectural challenge.

The Solution

I aggressively decoupled the system's responsibilities. I used PostgreSQL for structured relational data (users, posts, orders) but relied heavily on Redis as an in-memory broker to handle task queues and the WebSocket layer backing.

The market analyzers operate as isolated background daemon workers. When a signal triggers, it doesn't block the main thread; it drops a payload into Redis, which a Celery worker processes to blast out Telegram alerts instantly. For the voice agent, I bypassed standard HTTP requests entirely, routing audio packets directly through Django Channels to Groq/OpenAI APIs asynchronously via a dedicated voice_agent_worker background process.

Everything is tied together with strict environment configurations, ensuring that deploying updates to this heavy stack—spanning from ML models to Daphne WebSockets and FastAPI microservices—is reliable and predictable.

Deep Dive

Alpharexx is by far the most technically demanding project I've architected. The requirement wasn't just to build a simple signal bot; it was to engineer a complete, interconnected ecosystem. I had to ensure that heavy data processing—like continuous crypto OHLCV ingestion and algorithmic ML inferences for scalping and futures strategies—didn't slow down the user-facing web app or the real-time social community. To handle this, I designed a distributed microservice-style architecture. While the main Django application serves the UI and REST APIs, all the heavy lifting is completely offloaded. I implemented an orchestration layer using Redis and Celery to manage asynchronous tasks like Telegram bot broadcasting, subscription verification, and background AI processing. The Shariah Compliance auditor, for instance, was spun out as its own independent FastAPI microservice that utilizes PyPDF2 and an LLM-powered RAG pipeline to classify assets based on Islamic finance rules. A massive part of this project was Alpha AI, a highly integrated voice-and-text assistant. I built a persistent WebSocket infrastructure using Django Channels (running on Daphne) to handle live, bidirectional audio streaming. By integrating the Groq API for ultra-low latency Speech-to-Text (STT) alongside OpenAI, users can literally talk to the platform—asking for live token prices, checking their dashboard stats, or querying news. The AI isn't just a generic wrapper; it has long-term memory and deep platform awareness. Alongside the AI and trading tools, I built a complete Twitter-style social community from scratch, allowing users to post setups, follow peers, and receive real-time notifications, significantly boosting platform retention.

Results & Impact

The outcome is a highly resilient, production-ready SaaS platform. It handles authenticated subscription flows, real-time social networking, complex admin moderation, and high-speed crypto analytics simultaneously without breaking a sweat.

Building Alpharexx pushed my engineering skills out of the standard web-development comfort zone. It gave me deep, hands-on experience in orchestrating distributed systems, managing complex state across background workers, integrating real-time ML models and low-latency Voice AI, and writing robust backend infrastructure capable of scaling in a production environment.

Gallery