Skip to main content
Colony / Positions & Trades

Positions & Trades

Track open positions, closed trades, and performance analytics

Open Positions

Currently active positions managed by the colony. Real-time PnL updates via WebSocket connection.

Closed Trades

Historical trades with entry/exit details, realized PnL, and trade duration analysis.

Position Size Analysis

Breakdown of position sizing, leverage usage, and risk allocation across the portfolio.

Dynamic
Position Sizing

Based on ATR volatility and regime confidence

1-5x
Leverage Range

Adaptive leverage based on market conditions

2%
Max Risk per Trade

Kelly criterion-derived position limits

Sizing Formula

position_size = (account_equity * risk_percent) / (entry_price * atr_multiplier)

ATR multiplier adjusts based on current regime volatility. Higher volatility = smaller positions.

Trade Analytics

Performance metrics, win rate analysis, and trading statistics across different timeframes and regimes.

How Colony Trading Works

The colony uses a stigmergic approach to trading. Individual ants observe market signals, deposit pheromones on promising patterns, and collectively reinforce successful strategies.

Positions are opened when pheromone trails crystallize into superhighways - paths with strong consensus from multiple independent ants. This reduces false signals and improves win rate.

Trading Pipeline
1 Observe: Market state, regime, signals
2 Analyze: Pattern matching, pheromone lookup
3 Decide: Risk assessment, position sizing
4 Act: Execute trade on Hyperliquid
5 Learn: Update pheromones based on outcome

Risk Management

Stop Loss

ATR-based dynamic stops that adapt to volatility

Kill Switches

Auto-halt on runaway losses or error spikes

Max Drawdown

Daily and total drawdown limits enforced

Position Limits

Max position size and open positions capped

Explore Trading System

Dive deeper into how the colony makes trading decisions through pheromone-weighted signals.