Skip to main content

Mercury Instance Architecture: Strategic Refinement of W/R/ABH System

· 3 min read
Max Kaido
Architect

TL;DR: The Strategic Breakthrough

After deep architectural analysis, we've discovered the true competitive advantage of Mercury's instance system:

  • W Instance: Live trading with conservative risk management
  • R Instance: Demo trading (Bybit testnet) mirroring W constraints
  • ABH Instance: Shadow portfolio as unrestricted market intelligence engine

Key Insight: Shadow portfolio's value isn't simulation—it's complete data capture for strategy optimization that demo trading cannot provide.

Eliminating Type Safety Bypasses: The Global Optional Nested Structure Problem

· 4 min read
Max Kaido
Architect

The Problem: Repository-Wide Type Safety Nightmares

This is a monorepo-wide architectural problem, not specific to Mercury. Across multiple domains, we've evolved complex optional nested structures that force developers to bypass TypeScript's type safety. The Mercury tournament configurations are just one example of this systemic issue.

The Great Patriotic War Against Type Cast Invaders: A Combat Report

· 3 min read
Max Kaido
Architect

Emergency Broadcast from Moscow

"Внимание, говорит Москва! Передаем важное правительственное сообщение. Граждане и гражданки Советского Союза! Сегодня 22 июня, без объявления войны, type cast войска атаковали границы kaido-monorepo. Началась Великая Отечественная война советского народа против немецко-фашистских захватчиков кода хуевыми паттернами. Наше дело правое. Враг будет разбит. Победа будет за нами."

97 Things Every Programmer Should Know: In Practice

· 5 min read
Max Kaido
Architect

In an industry obsessed with fleeting frameworks and hype-driven development, some wisdom is timeless. "97 Things Every Programmer Should Know" is a collection of such wisdom. It's not about a specific language or technology, but about the fundamental principles of crafting good software.

But principles are useless without practice. Here's how we're turning these lessons into tangible, enforceable rules in our monorepo.

КРИТИЧЕСКИ ВАЖНО: ABH Архитектура - 24 Турнира, НЕ 8!

· 2 min read
Max Kaido
Architect

ТВАРЬ, ЗАПОМНИ НАВСЕГДА:

ABH Instance = 24 турнира в день, НЕ 8!

🔥 ОСНОВНАЯ АРХИТЕКТУРА (НЕ ЕБИСЬ С ПОНИМАНИЕМ!)

ABH инстанс запускает ВСЕ 3 варианта (A, B, H) для КАЖДОГО турнира!

8 базовых турниров × 3 варианта = 24 турнира в день!

Mercury Fine-Tuning Framework: From Chaos to Systematic Optimization

· 4 min read
Max Kaido
Architect

After months of architectural development, Mercury reached a critical milestone: all core components were implemented and operational. We transitioned from building the foundation to the fine-tuning phase—optimizing our AI-powered trading system for maximum profitability. However, this phase revealed significant challenges in our experimental framework that ultimately hindered progress rather than accelerating it.