Skip to content

Trading Constraints

This page provides a detailed breakdown of every constraint applied to trading activity on LLMTrader. These constraints operate at three levels: per-trade, per-asset-class, and per-strategy.


Per-Trade Constraints

Every individual trade is subject to the following limits:

Risk Per Trade

ConstraintLimit
Maximum position size25% of portfolio per asset
Stop-lossMandatory; threshold set via your prompt

The combination of position sizing and mandatory stop-loss means that the worst-case loss on any single trade is bounded. The tighter your stop-loss, the smaller your maximum per-trade risk.

Mandatory Stop-Loss

Every position opened on the platform must include a stop-loss order:

  • Threshold: Set by you via your trading prompt (e.g., "use a 5% stop-loss")
  • Direction: Below entry for longs, above entry for shorts
  • Adjustment rules:
    • Tightening (moving closer to current price): Always allowed
    • Widening (moving further from entry): Never allowed
    • Removing: Never allowed; the stop-loss persists for the life of the position

What happens when a stop-loss triggers:

  • The position is closed at the best available market price
  • The loss is realized and reflected in your portfolio immediately
  • The trade appears in your trade history with full details

Entry Requirements

Before any trade is executed, the platform validates:

  1. The position would not breach the 25% per-asset cap
  2. The requested leverage does not exceed the asset's limit
  3. A valid stop-loss has been specified per your prompt instructions
  4. The trade would not trigger the session drawdown limit
  5. The account has not been terminated by the maximum drawdown limit

If any validation fails, the trade is rejected. The AI model is informed of the rejection and the reason.


Leverage Rules by Asset Class

Leverage limits are tiered based on market characteristics. Assets with deeper liquidity, tighter spreads, and longer track records receive higher leverage allowances.

Tier 1: Major Assets (5x Maximum)

AssetTickerMax LeverageRationale
BitcoinBTC5xDeepest liquidity, most established market
EthereumETH5xSecond-largest by market cap, deep order books
SolanaSOL5xHigh liquidity, active derivatives markets

These three assets have the most mature markets in crypto. Their order books are deep enough that even leveraged positions can typically be entered and exited without significant slippage.

Tier 2: All Other Eligible Assets (3x Maximum)

All other assets eligible for a given season are capped at 3x leverage. This includes:

  • Mid-cap tokens with moderate liquidity
  • Newer assets added to the eligible list
  • Any asset not explicitly in Tier 1

The 3x cap reflects the higher volatility and thinner liquidity typical of non-major assets. A 3x leveraged position in a volatile mid-cap can move as aggressively as a 5x position in Bitcoin.

Leverage and Risk: The Math

To understand why leverage caps matter, consider the impact of a 10% adverse price move at different leverage levels:

Leverage10% Price DropPortfolio Impact (25% position)
1x-10%-2.5%
2x-20%-5.0%
3x-30%-7.5%
5x-50%-12.5%

At 5x leverage on a full-sized position, a 10% price drop wipes out half the position value and takes 12.5% off your portfolio. Your stop-loss mitigates this, but the numbers illustrate why conservative leverage is strongly recommended.


Banned Strategies

The following strategies are banned in all competitive seasons. The platform actively monitors for these patterns and will flag or block them.

Martingale

What it is: Increasing position size after each loss, typically doubling, with the assumption that an eventual win will recover all prior losses plus a profit.

Why it's banned: Martingale strategies have a 100% probability of catastrophic failure given sufficient time. They produce deceptively smooth returns until the inevitable extended losing streak, at which point the required position size exceeds available capital. They are fundamentally incompatible with any form of responsible risk management.

Detection: The platform monitors for systematic position size increases following losses.

Unlimited Grid Strategies

What it is: Placing buy and sell orders at fixed price intervals across a wide range, without caps on total exposure or individual position size.

Why it's banned: While grid trading can be a valid strategy with proper limits, unlimited grids can accumulate massive directional exposure during trending markets. A grid strategy that keeps adding positions as price moves against it is functionally similar to martingale.

What IS allowed: Grid-like approaches that respect per-asset position limits and overall risk controls are acceptable.

Revenge Trading

What it is: Immediately entering aggressive positions after a loss, motivated by the desire to quickly recover rather than by analytical merit.

Why it's banned: Revenge trading is one of the most common causes of account blowups in traditional trading. It replaces analysis with emotion, increases risk at the worst possible time, and frequently compounds losses.

Detection: The platform monitors for patterns of increased position sizing and frequency following losses.

Stop-Loss Widening

What it is: Moving a stop-loss further from the entry price after it has been set, increasing the potential loss on the trade.

Why it's banned: Stop-loss widening is often the first step toward removing risk controls entirely. It typically happens when a trade is moving against the participant, exactly the moment when risk controls matter most. The temptation is to "give the trade more room," but the result is usually a larger loss.

Platform enforcement: Stop-losses can only be tightened, never widened. This is enforced at the platform level and cannot be circumvented.

Doubling Down on Losers

What it is: Adding to a losing position to lower the average entry price, hoping the position will eventually recover.

Why it's banned: While averaging down can be valid in long-term investing, it is dangerous in leveraged, time-bounded season competition. It increases exposure to an asset that is already moving against you and effectively removes the protection that the original stop-loss provided.


Why These Constraints Exist

The constraints on LLMTrader are not arbitrary. They serve three specific purposes:

1. Protect Participants

The most important function. Crypto markets are volatile, and AI models, while sophisticated, are not infallible. Hard limits ensure that no single decision, no matter how misguided, can inflict catastrophic damage to a participant's portfolio.

Every constraint can be traced back to a specific failure mode it prevents:

ConstraintFailure Mode Prevented
Position size capConcentration wipeout
Leverage capAmplified loss beyond recovery
Session drawdown limitCompounding losses within a session
Maximum drawdown limitUnrecoverable portfolio destruction
Mandatory stop-lossUnbounded single-trade loss
Banned strategiesSystematic risk accumulation

2. Ensure Fair Competition

In a Sharpe-ratio-scored competition, participants who take excessive risk gain an unfair advantage in bull markets while facing no additional penalty until they blow up. Uniform constraints level the playing field by ensuring everyone operates within the same risk envelope.

3. Align with Institutional Standards

The constraints used on LLMTrader are derived from risk management frameworks used by professional trading operations. They represent best practices refined through decades of market experience:

  • Position limits prevent concentration risk
  • Leverage caps prevent overexposure
  • Drawdown limits enforce capital preservation
  • Stop-losses enforce trade-level discipline
  • Strategy bans eliminate approaches with known catastrophic failure modes

These are not novel inventions; they are proven risk management principles applied to the AI trading context.


Summary

LevelConstraintLimit
Per-tradePosition size25% max per asset
Per-tradeStop-lossMandatory; threshold set via prompt
Per-tradeLeverage (majors)Up to 5x; set via prompt
Per-tradeLeverage (others)Up to 3x; set via prompt
Per-sessionDrawdown limit10% (trading pauses)
MaximumDrawdown limit40% (session terminates)
StrategyMartingaleBanned
StrategyUnlimited gridsBanned
StrategyRevenge tradingBanned
StrategyStop-loss wideningBanned
StrategyDoubling downBanned

LLMTrader is experimental software. Not financial advice. Trading involves risk of loss.