Strategies
Strategies group related trades for performance tracking and analysis. They help you measure how different trading approaches perform over time.
Why Use Strategies?
- Performance Tracking - Measure win rate, profit factor, and returns per strategy
- Organisation - Group trades by methodology (momentum, mean reversion, etc.)
- Comparison - Compare performance across different approaches
- Automation - Link signals to strategies for systematic tracking
Strategy Types
UTM supports several strategy type categories:
| Type | Code | Description |
|---|---|---|
| Trend Following | tf | Follow market trends, buy breakouts |
| Mean Reversion | mr | Trade reversals to average price |
| Momentum | mom | Trade based on price momentum |
| Rotation | rot | Rotate between sectors/assets |
| Arbitrage | arb | Exploit price differences |
| High Frequency | hft | Rapid, short-term trades |
| Discretionary | disc | Manual trading decisions |
| Custom | custom | User-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:
| Field | Description |
|---|---|
| Name | Descriptive name (e.g., "MACD Crossover") |
| Type | Strategy category (see types above) |
| Description | Optional notes about the methodology |
| Account | Default account for this strategy |
| Active | Enable/disable the strategy |
Step 3: Configure Settings
Optional configuration:
| Setting | Description |
|---|---|
| Max Position Size | Limit position size per trade |
| Risk Per Trade | Maximum risk percentage |
| Symbols | Restrict 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:
- Open order entry dialog
- Select strategy from dropdown (optional)
- Submit order
- Resulting trade links to strategy
Retroactive Assignment
Assign existing trades to a strategy:
- Open trade details
- Click Edit
- Select strategy
- Save changes
Strategy Performance
Metrics Tracked
| Metric | Description |
|---|---|
| Total Trades | Number of completed trades |
| Win Rate | Percentage of profitable trades |
| Average Win | Average profit on winning trades |
| Average Loss | Average loss on losing trades |
| Profit Factor | Gross profit ÷ gross loss |
| Net P&L | Total profit/loss |
| Return % | Percentage return on capital |
| Max Drawdown | Largest 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:
- Go to Strategies
- Select strategies to compare (checkboxes)
- Click Compare
- View metrics side by side
Key Comparisons
| Compare | Purpose |
|---|---|
| Win Rate | Consistency of profits |
| Profit Factor | Risk-adjusted returns |
| Max Drawdown | Worst-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:
- Create the strategy
- Link to a paper account
- Run signals and track performance
- Analyse results
- 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
strategyIdfield
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
Deleting a strategy does not delete associated trades. Trades will become unlinked and can be reassigned.
To delete:
- Open strategy details
- Click Delete
- Confirm deletion
- Trades remain but lose strategy association