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

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

ai-tools

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

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

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

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

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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.

azure

career

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

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

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

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

cost-optimization

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

dlmm

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

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

faith

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

family

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

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

github-copilot

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

go

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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

jupiter

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

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.

life

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

llm

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

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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.

melbourne

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

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.

perth

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

pivot

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

pool-discovery

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

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

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

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

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

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