Learn how to calculate portfolio heat, account for correlated positions, set exposure limits, and test total open-risk rules before using them in live trading.
Quick Answer
Portfolio heat in trading is the percentage of account equity currently exposed if all open positions reach their planned risk exits. Calculate the monetary risk of each position, add those amounts, and divide the total by current equity. Before opening another trade, include its proposed risk and check both total heat and exposure concentrated in one market, sector, or strategy. The result is an estimate—not a guaranteed maximum loss—because gaps, slippage, liquidity, and correlated moves can produce losses beyond planned stops.
Key Takeaways
- Portfolio heat measures combined open risk, while position sizing measures the risk of one trade.
- The basic formula is total planned open risk divided by current account equity.
- Gross risk should normally be counted without assuming long and short positions will offset perfectly.
- Correlated positions need a separate cluster limit because several different symbols can represent the same underlying bet.
- A heat limit should come from tested strategy behavior, account constraints, and loss tolerance—not a universal percentage.
- Stop orders help define planned risk, but they cannot guarantee execution at the stop price.
What Portfolio Heat in Trading Measures
A trader can follow a sensible per-trade rule and still accumulate excessive total exposure.
Suppose every position risks 0.5% of equity. One position may be manageable. Six positions opened across closely related technology stocks create 3% of planned open risk, with much of it exposed to the same market driver. If the sector reprices sharply, the positions may lose together.
Portfolio heat makes that combined exposure visible. The basic calculation is:
Portfolio heat = Total planned open risk / Current account equity × 100
For a $100,000 account with $1,500 of combined planned risk:
Portfolio heat = $1,500 / $100,000 × 100 = 1.5%
This is different from notional exposure. A $20,000 stock position with a nearby stop may contribute less planned risk than a $5,000 position with a wide stop. Heat is based on the loss planned between entry and risk exit, not merely the capital committed.
It is also different from actual worst-case risk. A stop can be skipped during a gap, delayed by poor liquidity, or filled at a worse price. Portfolio heat is therefore a planning measure that should be supplemented by stress scenarios.
Running equities strategies through Alpaca on Kvants.
How to Calculate Portfolio Heat
For a linear stock or crypto position, estimate trade risk as:
Trade risk = Quantity × Absolute entry-to-stop distance + Estimated exit costs
If a contract multiplier applies, include it:
Trade risk = Contracts × Stop distance × Contract multiplier + Estimated exit costs
Then add the risk of every open trade:
Total open risk = Trade risk 1 + Trade risk 2 + ... + Trade risk n
Finally, divide by the account value used by your risk plan. Current equity is often more conservative and responsive than initial balance because the risk budget falls after losses.
For instruments with nonlinear payoffs, a simple entry-to-stop calculation may be inadequate. Options, leveraged products, and positions with path-dependent behavior may require scenario-based valuation instead.
If a position has no protective exit, define a credible adverse-price scenario. Calling its planned risk zero would understate portfolio heat.
Deploying a strategy to paper or live with a pre-flight gate.
A Step-by-Step Portfolio Heat Workflow
1. Define the account value used for risk
Choose whether your rules use current equity, start-of-day equity, or another explicitly defined value. Do not switch between them opportunistically.
Current equity adapts position risk after gains and losses. Start-of-day equity can simplify intraday controls, but it may lag a fast drawdown. Traders operating under external loss limits must calculate heat using definitions compatible with those rules.
2. Calculate risk for every open position
Record the remaining quantity, protective exit, stop distance, and estimated execution costs. Recalculate after partial exits, additions, or stop changes.
For long positions, planned price risk is generally entry minus stop. For short positions, it is stop minus entry. Use the absolute value when aggregating gross heat.
A stop moved beyond break-even may reduce planned price risk to zero, but it does not remove gap or execution risk. Keep a separate stress measure for those cases.
3. Calculate prospective heat before entering
Do not wait until an order fills. Add the proposed trade to existing open risk first:
Prospective heat = (Current open risk + Proposed trade risk) / Current equity × 100
If the proposed order breaches a limit, reduce its size, tighten the stop only when the strategy justifies it, close other exposure, or skip the trade. Moving a stop solely to force the arithmetic to fit can invalidate the setup.
4. Group positions by common risk driver
Total heat alone can hide concentration. Create exposure groups relevant to the strategy, such as:
- Market or asset class
- Sector or industry
- Long versus short direction
- Strategy or setup
- Shared catalyst
- Highly related crypto assets
Calculate heat for each group. A portfolio might pass its total limit while violating a sector or directional limit.
Correlation is unstable, so these groups are approximations rather than permanent truths. Assets that behaved differently in normal conditions can move together during stress.
5. Set total and cluster limits
A practical policy can contain multiple controls:
- Maximum total portfolio heat
- Maximum heat in one sector or asset group
- Maximum directional heat
- Maximum number of simultaneous positions
- Lower limits around events or illiquid periods
- A separate daily realized-loss limit
There is no universally correct percentage. Select candidate limits from strategy trade frequency, typical overlap, historical losing sequences, drawdown tolerance, execution uncertainty, and any external account restrictions.
6. Recalculate when risk changes
Portfolio heat is not a number calculated once each morning. Update it before new orders and whenever positions are added, reduced, stopped, or materially repriced.
Also distinguish planned open risk from realized daily loss. Losing 1% and then opening another 2% of heat creates a different situation from beginning the day with 2% of heat and no realized loss.
Worked Example: Total Heat Passes, Concentration Fails
Assume a trader has $100,000 of current equity and these open positions:
| Position | Entry | Stop | Quantity | Planned Risk | Risk Group |
|---|---|---|---|---|---|
| Stock A | $50.00 | $48.50 | 400 | $600 | Technology |
| Stock B | $120.00 | $117.50 | 200 | $500 | Technology |
| Stock C | $40.00 | $39.00 | 400 | $400 | Energy |
Ignoring costs for simplicity, total planned risk is:
$600 + $500 + $400 = $1,500
Total portfolio heat is:
$1,500 / $100,000 × 100 = 1.5%
Suppose the trading plan allows maximum total heat of 2%. The portfolio passes that rule.
However, technology heat is:
($600 + $500) / $100,000 × 100 = 1.1%
If the sector limit is 0.8%, the portfolio fails the concentration rule. The trader could reduce Stock B's planned risk from $500 to $200, which would require 80 shares at a $2.50 stop distance.
After that change:
- Technology risk becomes $800, or 0.8%.
- Total risk becomes $1,200, or 1.2%.
- Energy risk remains $400, or 0.4%.
This example shows why a single total-heat number is incomplete. Separate symbols do not necessarily represent independent risks.
Common Portfolio Heat Failure Modes
Treating the stop as a guaranteed fill
A protective order defines intended execution, not a guaranteed loss. Gaps, fast markets, and thin liquidity can push realized risk beyond the estimate. Test adverse fills and gap scenarios separately.
Netting longs and shorts automatically
Subtracting short risk from long risk may create a misleadingly low number. A long technology position and a short energy position do not form a reliable hedge. Even positions in the same market can diverge.
Track gross heat first. If a hedge receives special treatment, its relationship should be explicit and stress-tested.
Ignoring pending orders
Several pending entries can trigger during the same market move. Monitor committed heat—the exposure that would exist if eligible orders filled—not just current open heat.
Double-counting or missing partial positions
After scaling out, use the remaining quantity. After adding, combine the entire position's risk under the current exit plan. Inconsistent treatment makes the limit unreliable.
Setting a limit without testing it
A lower cap can reduce drawdown but may also reject valid overlapping signals. A higher cap may increase exposure when trades are most correlated. The effect depends on signal timing, sizing, and execution order, so it should be evaluated with event-aware testing.
Testing Portfolio Heat Rules in Kvants
A portfolio heat rule becomes more useful when it is written as explicit strategy logic rather than a discretionary warning.
In Kvants Studio, traders can turn plain-English trading ideas into editable, auditable rules. A research specification might define per-trade risk, maximum aggregate heat, cluster limits, and the action taken when a new signal would breach a constraint.
Because backtests run on NautilusTrader's event-driven engine, the sequence of signals, entries, exits, and changing exposure can be represented in order. That matters when several positions overlap or multiple orders become eligible close together.
Parameter sweeps can compare candidate heat limits rather than selecting one from a single backtest. Walk-forward and crisis-stress validation can then examine whether the rule remains useful outside the period used to develop it. The Kvants documentation provides guidance for defining and reviewing strategy logic.
Evaluate more than headline return. Compare maximum drawdown, rejected signals, exposure concentration, turnover, costs, and performance across different market regimes. The objective is not to discover a perfect cap; it is to choose a defensible constraint that fits the strategy and account.
A strategy laid out end to end in the Kvants editor.
Frequently Asked Questions
What is a good maximum portfolio heat?
There is no universal maximum. It depends on the strategy's historical drawdowns, signal overlap, asset concentration, execution risk, account limits, and the trader's loss tolerance. Test several candidate caps under realistic costs and stressed execution rather than adopting a percentage in isolation.
Is portfolio heat the same as position size?
No. Position size determines the quantity held in one trade. Portfolio heat estimates the combined planned loss across all open trades as a percentage of equity. Position sizing is an input to the heat calculation.
Should long and short positions offset each other?
Not automatically. A basic heat calculation should normally sum gross planned risk. Only recognize an offset when the hedge relationship is defined, relevant to the holding period, and tested under adverse conditions.
How often should portfolio heat be recalculated?
Recalculate it before submitting a new order and after any fill, partial exit, position addition, stop change, or material equity change. Also monitor pending orders that could trigger together.
Can portfolio heat prevent losses beyond the limit?
No. It controls planned exposure, not guaranteed realized loss. Stops may fill poorly or fail to contain a gap. Illiquidity and sudden correlation changes can also make several positions lose more than expected.
Risk Note
This article is educational and is not investment advice. Portfolio heat is an estimate based on defined exits and execution assumptions; actual losses can exceed planned risk. Kvants is a research tool, not an investment adviser. Backtested performance does not guarantee future results.