Skip to main content

35 posts tagged with "trading"

View All Tags

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.

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.

Efficient Market Ranking with QuickSelect Algorithm

· 2 min read
Max Kaido
Architect

In the latest update to Mercury Bot (v0.126.0), we've introduced a significant improvement to our market ranking system using the QuickSelect algorithm. This optimization reduces the number of comparisons needed to find the top K markets, making our analysis more efficient and responsive.

The Challenge

Our previous implementation compared every market with every other market to establish rankings. With N markets, this resulted in O(N²) comparisons. For 100 markets, we needed up to 4,950 comparisons! This was:

  • Time-consuming
  • Resource-intensive
  • Expensive in terms of API calls

Improved Sorting Prompt

· 4 min read
Max Kaido
Architect

Below are three improved prompt formulations. Each clarifies the trading criteria (e.g., RSI thresholds, MACD crossing specifics, ADX ranges), comparison logic (e.g., how to pick a "winner"), and exact JSON response format, so that different AI models have less room for misinterpretation or data mix-ups.


Top 42 Missing Indicators: Enhancing Mercury Bot's Technical Analysis

· 4 min read
Max Kaido
Architect

Introduction

As Mercury Bot continues to evolve, we've identified key technical indicators that could enhance its market analysis capabilities. While we've already implemented several core indicators (RSI, MACD, Bollinger Bands, Ichimoku Cloud, OBV), this guide ranks additional indicators by their value for crypto markets and implementation complexity.

42 Sweet Spots: Mercury Bot's Market Analysis Patterns

· 3 min read
Max Kaido
Architect

Introduction

Mercury Bot's market analysis system is evolving beyond traditional candlestick patterns to focus on pure indicator-based setups. This guide introduces 42 "sweet spots" - specific market conditions that can trigger high-probability trading signals. Each setup is defined by a combination of technical indicators and specific market conditions.