Skip to main content

LLM Behavior Insights: Technical Analysis and Market Reasoning

· 4 min read
Max Kaido
Architect

While implementing large language models for technical analysis and market reasoning, we've discovered several fascinating insights about how these models process and reason about market data. These findings challenge common assumptions about temperature settings and prompt engineering, while offering practical solutions for more reliable analysis.

FDD Best Practices: Learning from Anti-Patterns

· 3 min read
Max Kaido
Architect

During a recent code review of our shadow portfolio feature, we discovered a concerning pattern where FDD documentation was artificially inflated by duplicating TypeScript type definitions. This experience provides valuable lessons about what makes FDD documentation effective - and what doesn't.

Adaptive Weight Optimization in Technical Analysis: A Modern Approach with LLMs

· 33 min read
Max Kaido
Architect

The Problem

Technical analysis has long relied on combining multiple indicators to generate trading signals. The challenge lies not in which indicators to use - these are well established - but in how to weight their importance dynamically as market conditions change. Traditional fixed-weight systems often fail when market regimes shift, leading to:

  • False signals during regime transitions
  • Delayed adaptation to new market conditions
  • Over-optimization for specific market states
  • Poor performance in unexpected market conditions

Top 10 Complementary Strategy Combinations

· 4 min read
Max Kaido
Architect

Below is a list of ten complementary strategy‐condition combinations designed to work in tandem within a weighted–signal system. These combos are intended as starting points that, when combined with a self–balancing feedback loop (which adjusts indicator weights over time based on past performance), can offer diversified, risk–adjusted entries and exits. Each combo uses a different mix of technical conditions—often blending trend, momentum, volatility, and volume—to help ensure that the overall system remains robust even in changing market conditions.

FastAPI: When "Modern" Features Meet Reality

· 2 min read

Date: 2024-03-19 Tags: #python #fastapi #technicaldebt #overengineering #whyisthissohard Author: Mercury TA Team

Dear FastAPI maintainers,

I've just spent a week in dependency injection hell, fighting with your framework's response handling that somehow manages to break basic HTTP protocol. Let me share my experience with this overengineered nightmare.

The Promise vs Reality

You promised:

  • "FastAPI is modern, fast (high-performance)"
  • "One of the fastest Python frameworks available"
  • "Fewer bugs"
  • "Easy to use"

What we got:

Swing Trading: Capturing Big Market Moves

· 4 min read
Max Kaido
Architect

Swing trading is the art of capturing significant price moves over days to weeks. Unlike scalping or day trading, which rely on rapid entries and exits, swing traders aim to profit from broader market movements, capitalizing on momentum, trends, and key price levels.

Why Swing Trading?

✅ Less screen time than day trading ✅ High reward-to-risk potential ✅ Works well with technical analysis ✅ Avoids the noise of lower timeframes