Posts by Tags

aggregation

ai

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.

ai-tools

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.

alloy

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.

arbitrage

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.

architecture

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

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.

china

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.

christmas

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.

claude-code

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.

clean-architecture

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.

confidence-scoring

data

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.

design-patterns

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.

devops

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.

dex

docker-compose

documentation

event-driven

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

flatbuffers

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

go

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.

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

golang

grafana

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

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.

grpc

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.

hft

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

high-frequency

high-frequency-trading

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.

infrastructure

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.

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.

ipc

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.

jaeger

kubernetes

lessons-learned

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.

lgtm

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.

loki

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.

market-data

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.

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.

metrics

microservice

microservices

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.

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.

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

migration

milestone

mimir

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.

monitoring

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.

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.

nats

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

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.

new-year

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.

observability

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.

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.

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.

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.

openclaw

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.

opentelemetry

optimization

oracle

performance

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.

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.

pool-discovery

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.

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.

project-management

prometheus

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.

prototypes

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.

puppeteer

quote-aggregator

quote-service

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.

real-time

redis

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.

refactoring

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.

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.

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.

reflection

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.

reliability

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.

research

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.

rust

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

scanner

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.

scanner-framework

scanner-service

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.

security

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.

shared-memory

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.

solana

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.

stock-market

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.

streaming

system-design

telegram

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.

tempo

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.

testing

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.

tracing

trading

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.

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.

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.

triangular-arbitrage

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.

typescript

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.

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.

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

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.

websocket

zero-copy