Sitemap
A list of all the posts and pages found on the site. For you robots out there, there is an XML version available for digesting as well.
Pages
Posts
Token Configuration Overhaul: Pruning 9 Dead LSTs and Adding Extra Token Pairs
Published:
Data-driven token config cleanup: disabled 9 LSTs that contributed zero arb signals across 373,000+ events, kept the 5 that matter, and expanded monitoring to 6 extra token pairs (BONK, WIF, JUP, RAY, ORCA, PYTH) via a new enabled flag system. Results to follow.
Scanner Service Production Validation: 9.4M Quotes, 106-Hour Continuous Run, and Multi-DEX Arbitrage Signal Detection
Published:
Final quality assessment of the Solana quote & scanner pipeline: 9.4M quotes across 11 test sessions, a 106.4-hour uninterrupted run with zero errors, 100% oracle coverage, and structured arbitrage signals detected from Orca Whirlpool concentrated liquidity pools across multiple DEXes.
OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis
Published:
OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.
OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot
Published:
How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.
Puppeteer Service: A Stealth Browser Microservice for Bot-Protected APIs
Published:
How we built a headless Chromium microservice with puppeteer-extra-plugin-stealth and residential proxy support to reliably fetch data from bot-protected DeFi APIs — and the non-obvious design decisions that made it work.
Quote Service Production Validation: Zero Critical Deviations & a Chinese New Year Milestone
Published:
Happy Chinese New Year! Comprehensive gRPC quote service validation delivers a 9.3/10 system health score — zero critical deviations across 1,001 quotes, 100% oracle price coverage, and 99.9% arbitrage match rate. The system is production ready.
Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability
Published:
Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.
Project Milestone Complete: Infrastructure Ready for Arbitrage Scanner, Planner, and Executor
Published:
Major milestone achieved: infrastructure reaches 85% completion with production-ready quote services. Project assessment validates 70-75% feasibility for $1k/month target. Ready to shift focus to arbitrage scanner, planner, and executor development in TypeScript as prototypes for future Rust implementation.
Quote Services Evolution: Local Enhancements, External Integration, and Quote Aggregator Architecture
Published:
Comprehensive upgrade to the quote service ecosystem: Local Quote Service gains intelligent pool quality management with oracle validation and dynamic refresh priorities, External Quote Service integrates Jupiter/DFlow/OKX APIs, and the new Quote Aggregator Service merges both sources with confidence scoring for optimal trade execution.
Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing
Published:
Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.
Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices
Published:
🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.
Pool Discovery Service: Triangular Arbitrage Support and Production Insights
Published:
Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.
Pool Discovery Service: Real-Time Liquidity Tracking and Intelligent RPC Proxy
Published:
Deep dive into the pool-discovery-service architecture: WebSocket-first pool updates, hybrid three-tier discovery strategy, and the intelligent RPC proxy enabling reliable connections to Solana RPC providers.
Quote Service Rewrite: Clean Architecture for Long-Term Maintainability
Published:
🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.
Quote Service Architecture: The HFT Engine Core
Published:
Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.
FlatBuffers Migration Complete: HFT Pipeline Infrastructure Ready with System Manager & Auditor
Published:
FlatBuffers migration infrastructure is complete. All 8 services migrated to zero-copy serialization with 6-stream NATS architecture. Added system-manager (kill switch) and system-auditor (P&L tracking). Most services are stubs, but the foundation is solid - ready for strategy implementation.
Architecture Assessment: Sub-500ms Solana HFT System Design
Published:
Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).
FlatBuffers Migration: Consolidating Documentation and Early-Stage Architecture Decisions for HFT Systems
Published:
Documentation consolidation for FlatBuffers migration: From 13 scattered docs to 1 authoritative guide. Why early-stage architecture changes are critical for HFT systems, even though time-consuming. Migration still in progress - and it’s worth every minute.
Event System Evolution: FlatBuffers Migration and Event-Type Architecture for High-Frequency Solana Trading
Published:
How we achieved 35% latency reduction and 87% CPU savings by migrating from JSON to FlatBuffers and evolving from priority-based to event-type NATS streams in our Solana HFT trading system.
HFT Pipeline Architecture & FlatBuffers Migration: Sub-100ms Trading with Zero-Copy Serialization
Published:
Building a production-ready HFT pipeline: 4-stage architecture with 6-stream NATS separation, FlatBuffers zero-copy serialization for 21% latency reduction, and comprehensive kill switch safety controls for sub-100ms quote-to-execution.
Production-Ready Quote Service & Scanner Framework: Oracle-Based Quotes and Extensible Architecture
Published:
Building production infrastructure: Dynamic oracle-based reverse quotes for accurate arbitrage detection, scanner framework optimization with 80% code reduction, and extensible patterns for DCA, limit orders, and liquidation monitoring.
gRPC Streaming for High-Frequency Quote Distribution: Optimizing Token Pair Performance
Published:
Deep dive into gRPC streaming architecture for real-time quote distribution: achieving sub-20ms latency, handling 1000+ quotes/second, and preparing for high-frequency arbitrage with optimized token pair quote streaming.
Building a Production Arbitrage Scanner: gRPC Streaming and Real-Time Detection
Published:
Implementing a high-performance arbitrage scanner using gRPC streaming to achieve 85x faster quote delivery and sub-30ms detection latency. Moving from prototype to production with architectural improvements.
Quote Service Observability: Comprehensive Metrics, Tracing, and Kubernetes Migration Planning
Published:
Added comprehensive metrics and distributed tracing to the quote-service, created a detailed Grafana performance dashboard, and drafted a complete Kubernetes migration plan. Plus, a special birthday celebration for my son Harry as he embarks on his university journey.
Unified Observability: Migrating to Grafana LGTM Stack with Alloy
Published:
Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.
Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation
Published:
Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.
The Research Behind the Plan: Two Years and Three Prototypes
Published:
Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.
Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events
Published:
Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.
Adding Observability and Monitoring to Solana Trading System: Go, Rust, and TypeScript
Published:
Implementing comprehensive observability across Go, Rust, and TypeScript services with unified logging, metrics, and tracing. Added event-preparer and notification-service, integrated quote-service monitoring with Grafana dashboards.
Building a Cross-Language Event System for Solana Trading: Rust, Go, and TypeScript
Published:
Implementing a unified event system across Rust, Go, and TypeScript for the Solana trading system. Includes market data events, system health monitoring, kill switches, and arbitrage opportunities - all communicating via NATS JetStream.
Getting Started: Building a Solana Trading System from Prototype to Production
Published:
Starting a journey to build a production-grade High-Frequency Trading (HFT) system on Solana. Currently have working arbitrage bots (~1.7s execution), aiming for sub-500ms execution with local pool math, Shredstream integration, and flash loans.
docs
Master Summary: Quad-AI Enhanced Production Trading System
Master Summary: Quad-AI Enhanced Production Trading System
Prototype System Analysis
Prototype System Analysis
Production System Architecture Plan
Production System Architecture Plan
Implementation Roadmap (Solo Developer)
Implementation Roadmap (Solo Developer)
Technology Stack Details
Technology Stack Details
Scanner → Planner → Executor Architecture
Scanner → Planner → Executor Architecture
Solo Developer Implementation Roadmap
Solo Developer Implementation Roadmap
Initial HFT Architecture: From Working Prototype to Sub-500ms Execution
Initial HFT Architecture: From Working Prototype to Sub-500ms Execution
External Quote Arbitrage Investigation Summary
External Quote Arbitrage Investigation Summary
Project Status and Feasibility Analysis
Project Status and Feasibility Analysis
Quote Service Implementation Guide
Quote Service Implementation Guide
Scanner Implementation Guide - Multi-Strategy System
Scanner Implementation Guide - Multi-Strategy System
Executor Framework Guide - Transaction Execution Layer
Executor Framework Guide - Transaction Execution Layer
Extensible Multi-Strategy Trading Architecture
Extensible Multi-Strategy Trading Architecture
Consolidated Production Trading System - Solo Developer Plan
Consolidated Production Trading System - Solo Developer Plan
Grok’s Production Enhancements - Critical Additions
Grok’s Production Enhancements - Critical Additions
DeepSeek’s Risk Management & Market Validation Enhancements
DeepSeek’s Risk Management & Market Validation Enhancements
Qwen’s Operational Resilience Enhancements
Qwen’s Operational Resilience Enhancements
Integrated Weekly Plan - All Enhancements Consolidated
Integrated Weekly Plan - All Enhancements Consolidated
Shredstream Integration Architecture
Shredstream Integration Architecture
HFT Pipeline Architecture: Complete Guide
HFT Pipeline Architecture: Complete Guide
FlatBuffers Migration - Complete Guide
FlatBuffers Migration - Complete Guide
Grafana Dashboards & Metrics for Solana HFT Trading System
Grafana Dashboards & Metrics for Solana HFT Trading System
Solana HFT Trading System: Architecture Assessment & Future-Proofing Analysis
Solana HFT Trading System: Architecture Assessment & Future-Proofing Analysis
- Solscan Liquidity Enrichment & Filtering
23. Solscan Liquidity Enrichment & Filtering
Pending Tasks - Quote Services Microservices Architecture
Pending Tasks - Quote Services Microservices Architecture
Pool Discovery Service - Architecture & Design
Pool Discovery Service - Architecture & Design
Pool Discovery Service - Architectural Update
Pool Discovery Service - Architectural Update
Quote Service Test Plan
Quote Service Test Plan
Quote Service Test Plan - Review Enhancements
Quote Service Test Plan - Review Enhancements
Test Plan Update Summary
Test Plan Update Summary
Environment Configuration Architecture
Environment Configuration Architecture
Solana RPC Proxy - Comprehensive Architecture & Design
Solana RPC Proxy - Comprehensive Architecture & Design
Pool Quote Accuracy - Final Engineering Report
Pool Quote Accuracy - Final Engineering Report
Quote Service Architecture - Source of Truth
Quote Service Architecture - Source of Truth
Quote Service Architecture Review - v3.1 Enhancements
Quote Service Architecture Review - v3.1 Enhancements
Quote Service Architecture Optimization Review
Quote Service Architecture Optimization Review
Shared Memory IPC - Hybrid Change Detection Architecture
Shared Memory IPC - Hybrid Change Detection Architecture
Refresh Rate Analysis: Technical Feasibility for LST Arbitrage
Refresh Rate Analysis: Technical Feasibility for LST Arbitrage
ChatGPT Review Response: Critical Improvements & Clarifications
ChatGPT Review Response: Critical Improvements & Clarifications
Implementation-Ready Summary: Quote Services v3.0
Implementation-Ready Summary: Quote Services v3.0
Pool State Ownership Migration - Local Quote Service
Pool State Ownership Migration - Local Quote Service
Quote Service Design Update - Comprehensive Summary
Quote Service Design Update - Comprehensive Summary
Quote Aggregator Service Implementation
Quote Aggregator Service Implementation
External Quote Service Update - Sequential Mode & Arbitrage Detection
External Quote Service Update - Sequential Mode & Arbitrage Detection
Architecture Assessment & Optimization Recommendations
Architecture Assessment & Optimization Recommendations
Solana Trading System Documentation
Solana Trading System Documentation
Scanner → Strategy → Executor Architecture
Scanner → Strategy → Executor Architecture
portfolio
Australia ASX Gym Environment
OpenAI Gym-based virtual stock exchange platform with 10 years of real ASX market data
Morse Code LoRa Walkie-Talkie
Open-source long-range, encrypted Morse code communication system using LoRa technology
iRobot - OpenAI Gym for Android Games
C++ reimplementation of scrcpy as an OpenAI Gym environment for training RL agents on Android games
Unity King Derby Game on Solana
Blockchain-integrated mobile game demonstrating Solana wallet integration and NFT functionality
Solana Playground
Comprehensive DeFi platform for trading, exchanging tokens, and managing NFTs on Solana blockchain
Jobseeker - AI-Powered Job Search Automation
Intelligent job search system using Claude AI to automatically scrape and analyze job postings
Flappy Morsecode - Gamified Morse Code Learning
Educational game combining Flappy Bird mechanics with interactive Morse code training
Animated Data Visualization - GDP Rankings
Interactive animated visualization of world GDP rankings from 1960 to present using React
Solana HFT Trading System
Production-grade high-frequency trading system with AI-enhanced architecture for Solana blockchain arbitrage
