Fed signals higher rates coming — bet against long-term government bonds
Created
Thesis
When the central bank signals that interest rates will climb, older bonds suddenly become worth less because new ones pay higher returns. Big money managers are currently rushing to dump their long-term government bonds. You can bet against the value of these long-term bonds by trading a fund that tracks them. As long as the Fed keeps pushing rates up, the price of this fund should continue to drop.
Strategy approach
Build a rule-based strategy that enters short TLT (iShares 20+ Year Treasury Bond ETF) on the 1D timeframe when the 10-day SMA crosses above the 50-day SMA and the MACD histogram is positive. Exit the trade if the price closes below the 20-day SMA. Use a 4% stop loss.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
TLT · 1d
4 of 4 published entry conditions marked met.
- SMA (10) below SMA (50) — met
- SMA (10) below SMA (20) — met
- SMA (20) below SMA (50) — met
- MACD (12,26,9) below 0 — met
- Price above SMA (20) — near
Entry and exit at a glance
These are the named rules in the shared configuration. Review the full conditions below before using a strategy.
- Entry: Macro Trend Continuation Short (TLT@1d) (4 conditions)
- Exit: Position Exit Rule (TLT@1d) (1 condition)
- Exit: Stop Loss at 4.0% (1 condition)
- Exit: Take Profit at 8.0% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:TLT",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 10
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 10
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"field": "histogram",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 0
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1",
"name": "Macro Trend Continuation Short (TLT@1d)",
"priority": 1
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (TLT@1d)",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -4
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 4.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 8
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 8.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2,
"stop_loss_percent": 4,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "sma",
"period": 10
},
{
"name": "sma",
"period": 50
},
{
"name": "sma",
"period": 20
},
{
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:TLT",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 10
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 10
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"field": "histogram",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 0
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1",
"name": "Macro Trend Continuation Short (TLT@1d)",
"priority": 1
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:TLT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (TLT@1d)",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -4
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 4.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 8
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 8.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2,
"stop_loss_percent": 4,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Fed signals higher rates coming — bet against long-term government bonds'. Thesis: When the central bank signals that interest rates will climb, older bonds suddenly become worth less because new ones pay higher returns. Big money managers are currently rushing to dump their long-term government bonds. You can bet against the value of these long-term bonds by trading a fund that tracks them. As long as the Fed keeps pushing rates up, the price of this fund should continue to drop.
Performance
No trade count, win rate, or realized P&L figures are provided in this public preview. The thesis and shared rules do not establish a performance record.
What this public preview can establish
- The dated rule snapshot above shows the conditions evaluated at that time. It does not prove a current trigger or executed trade.
- Technical strategy fields are shared above. Inspect the actual conditions and check when they were evaluated before relying on them.
- No trade count, win rate, or P&L figure is published in this preview. It cannot establish a performance record.
Explore
How CommonQuant researches and tests strategies · Public paper-trading record and its limits · Discover public strategies