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

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

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

15 minute read

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.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

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.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

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

16 minute read

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

15 minute read

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.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

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

27 minute read

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.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

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).

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

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

8 minute read

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

16 minute read

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

10 minute read

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.

docs

portfolio

Solana Playground

Comprehensive DeFi platform for trading, exchanging tokens, and managing NFTs on Solana blockchain

Solana HFT Trading System

Production-grade high-frequency trading system with AI-enhanced architecture for Solana blockchain arbitrage