Skip to main content

Strategies

Strategies group related trades for performance tracking and analysis. They help you measure how different trading approaches perform over time.

Why Use Strategies?

  1. Performance Tracking - Measure win rate, profit factor, and returns per strategy
  2. Organisation - Group trades by methodology (momentum, mean reversion, etc.)
  3. Comparison - Compare performance across different approaches
  4. Automation - Link signals to strategies for systematic tracking

Strategy Types

UTM supports several strategy type categories:

TypeCodeDescription
Trend FollowingtfFollow market trends, buy breakouts
Mean ReversionmrTrade reversals to average price
MomentummomTrade based on price momentum
RotationrotRotate between sectors/assets
ArbitragearbExploit price differences
High FrequencyhftRapid, short-term trades
DiscretionarydiscManual trading decisions
CustomcustomUser-defined methodology

Creating a Strategy

Step 1: Navigate to Strategies

Go to Strategies in the main menu.

Step 2: Create New Strategy

Click New Strategy and fill in:

FieldDescription
NameDescriptive name (e.g., "MACD Crossover")
TypeStrategy category (see types above)
DescriptionOptional notes about the methodology
AccountDefault account for this strategy
ActiveEnable/disable the strategy

Step 3: Configure Settings

Optional configuration:

SettingDescription
Max Position SizeLimit position size per trade
Risk Per TradeMaximum risk percentage
SymbolsRestrict to specific symbols

Linking Trades to Strategies

Via Signals

Include strategy ID when creating signals:

{
"symbol": "AAPL",
"action": "openLong",
"quantity": 100,
"strategyId": "your-strategy-uuid"
}

All resulting trades link to this strategy.

Via Manual Orders

When placing orders manually:

  1. Open order entry dialog
  2. Select strategy from dropdown (optional)
  3. Submit order
  4. Resulting trade links to strategy

Retroactive Assignment

Assign existing trades to a strategy:

  1. Open trade details
  2. Click Edit
  3. Select strategy
  4. Save changes

Strategy Performance

Metrics Tracked

MetricDescription
Total TradesNumber of completed trades
Win RatePercentage of profitable trades
Average WinAverage profit on winning trades
Average LossAverage loss on losing trades
Profit FactorGross profit ÷ gross loss
Net P&LTotal profit/loss
Return %Percentage return on capital
Max DrawdownLargest peak-to-trough decline

Performance Views

Navigate to a strategy's detail page to see:

  • Summary: Key metrics at a glance
  • Equity Curve: Performance over time
  • Trade List: All trades in this strategy
  • Statistics: Detailed breakdown

Filtering by Date

Analyse performance over specific periods:

  • Last 7 days
  • Last 30 days
  • This month
  • This year
  • Custom range

Strategy Comparison

Side-by-Side View

Compare multiple strategies:

  1. Go to Strategies
  2. Select strategies to compare (checkboxes)
  3. Click Compare
  4. View metrics side by side

Key Comparisons

ComparePurpose
Win RateConsistency of profits
Profit FactorRisk-adjusted returns
Max DrawdownWorst-case scenarios
Return %Overall effectiveness

Best Practices

Naming Conventions

Use clear, descriptive names:

  • ✓ "MACD Daily Crossover - Tech Stocks"
  • ✓ "RSI Oversold Bounces"
  • ✗ "Strategy 1"
  • ✗ "Test"

One Strategy Per Methodology

Don't mix different approaches in one strategy:

  • ✓ Separate "Momentum Long" and "Mean Reversion Short"
  • ✗ Combining all trades in "My Trades"

Paper Test First

Before using a strategy with real money:

  1. Create the strategy
  2. Link to a paper account
  3. Run signals and track performance
  4. Analyse results
  5. Move to live when confident

Automation Integration

TradingView Alerts

Send alerts to UTM with strategy assignment:

{
"symbol": "{{ticker}}",
"action": "openLong",
"accountId": "your-account-uuid",
"quantity": 100,
"strategyId": "your-strategy-uuid"
}

Exit Rules

Strategies can have default exit rules:

{
"strategyId": "day-trading-strategy",
"exitRule": {
"minutesBeforeClose": 0,
"orderType": "moc",
"timeInForce": "cls"
}
}

Exit rule timing options (mutually exclusive):

  • submitAt: Submit exit at specific time (HH:MM format, e.g., "15:30")
  • minutesBeforeClose: Submit N minutes before market close (0-30)
  • Neither: Submit exit immediately when entry fills

All trades in this strategy will auto-close at market close.

Common Issues

Trades Not Linking

Check:

  • Strategy ID is correct (UUID format)
  • Strategy is active
  • Signal includes strategyId field

Performance Not Updating

Verify:

  • Trades are closed (open trades don't count in some metrics)
  • Date range includes the trades
  • Refresh the page

Missing Metrics

Some metrics require minimum data:

  • Win rate needs at least 1 closed trade
  • Profit factor needs both wins and losses
  • Drawdown needs equity history

Deleting Strategies

warning

Deleting a strategy does not delete associated trades. Trades will become unlinked and can be reassigned.

To delete:

  1. Open strategy details
  2. Click Delete
  3. Confirm deletion
  4. Trades remain but lose strategy association