Oil crashes below $80 on Iran peace deal — short oil, long the airlines
Created
Thesis
A major shipping chokepoint is reopening, which means a lot more oil will be flowing around the world. When supply goes up, prices usually come down. Big Wall Street banks are already slashing their oil price forecasts. For everyday businesses like airlines, cheaper jet fuel means higher profits. This trade idea focuses on buying airline stocks, which should get a direct boost to their bottom lines as their biggest expense gets a lot cheaper.
Strategy approach
Build a rule-based strategy that enters long DAL, UAL, and LUV on the 1D timeframe when WTI crude oil (CL=F) closes below its 50-day moving average. Exit the trade if WTI closes back above its 20-day moving average, or apply a 15% trailing stop.
Markets and timeframes
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: SMA Crossover Long (USO@1d) (1 condition)
- Exit: Position Exit Rule (USO@1d) (1 condition)
- Exit: Stop Loss at 15.0% (1 condition)
- Exit: Take Profit at 15.0% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "USO",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1",
"name": "SMA Crossover Long (USO@1d)",
"priority": 1,
"trade_symbol": "USO"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (USO@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -15
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 15.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": 15
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 15.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2,
"stop_loss_percent": 15,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "sma",
"period": 50
},
{
"name": "sma",
"period": 20
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "USO",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1",
"name": "SMA Crossover Long (USO@1d)",
"priority": 1,
"trade_symbol": "USO"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (USO@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -15
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 15.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": 15
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 15.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2,
"stop_loss_percent": 15,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Oil crashes below $80 on Iran peace deal — short oil, long the airlines'. Thesis: A major shipping chokepoint is reopening, which means a lot more oil will be flowing around the world. When supply goes up, prices usually come down. Big Wall Street banks are already slashing their oil price forecasts. For everyday businesses like airlines, cheaper jet fuel means higher profits. This trade idea focuses on buying airline stocks, which should get a direct boost to their bottom lines as their biggest expense gets a lot cheaper.
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 thesis and strategy approach describe a market view. They do not show whether an entry or exit condition is currently met.
- 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