Loading…
Public trading strategy

Iran peace deal sending oil prices down — ride the relief rally in airline and s

Created

Thesis

When a major chokepoint for global oil shipments reopens, fuel prices typically drop as the risk of disruption fades. Airlines operate on razor-thin margins and jet fuel is their single biggest expense, so cheaper oil goes straight to their bottom line. Shipping companies also benefit from lower fuel costs and a return to normal routing. Since news of the deal broke over the weekend, buying these transportation stocks early in the week captures the market adjusting to suddenly lower operating costs.

Strategy approach

Build a long-only strategy on UAL, DAL, and ZIM using a 1-hour timeframe. Enter long on Monday open if the asset is trading above its 20-period simple moving average. Exit the trade if the asset drops 4% from the entry price, or hold for a maximum of 5 trading days.

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 Signal Long (UAL@1h) (1 condition)
  • Entry: SMA Signal Long (DAL@1h) (1 condition)
  • Entry: SMA Signal Long (ZIM@1h) (1 condition)
  • Exit: TP: Near Resistance[1] (UAL@1h) (1 condition)
  • Exit: TP: Near Resistance[1] (DAL@1h) (1 condition)
  • Exit: TP: Near Resistance[1] (ZIM@1h) (1 condition)
  • Exit: SL: Below Support[1] (UAL@1h) (1 condition)
  • Exit: SL: Below Support[1] (DAL@1h) (1 condition)
  • Exit: SL: Below Support[1] (ZIM@1h) (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "UAL",
      "timeframe": "1h"
    },
    {
      "symbol": "DAL",
      "timeframe": "1h"
    },
    {
      "symbol": "ZIM",
      "timeframe": "1h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "UAL",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_ual",
      "name": "SMA Signal Long (UAL@1h)",
      "priority": 1,
      "trade_symbol": "UAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_dal",
      "name": "SMA Signal Long (DAL@1h)",
      "priority": 2,
      "trade_symbol": "DAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "ZIM",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_zim",
      "name": "SMA Signal Long (ZIM@1h)",
      "priority": 3,
      "trade_symbol": "ZIM"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_ual",
      "name": "TP: Near Resistance[1] (UAL@1h)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "UAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_dal",
      "name": "TP: Near Resistance[1] (DAL@1h)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_zim",
      "name": "TP: Near Resistance[1] (ZIM@1h)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "ZIM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_ual",
      "name": "SL: Below Support[1] (UAL@1h)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_dal",
      "name": "SL: Below Support[1] (DAL@1h)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_zim",
      "name": "SL: Below Support[1] (ZIM@1h)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "ZIM"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1h",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "UAL",
      "timeframe": "1h"
    },
    {
      "symbol": "DAL",
      "timeframe": "1h"
    },
    {
      "symbol": "ZIM",
      "timeframe": "1h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "UAL",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_ual",
      "name": "SMA Signal Long (UAL@1h)",
      "priority": 1,
      "trade_symbol": "UAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_dal",
      "name": "SMA Signal Long (DAL@1h)",
      "priority": 2,
      "trade_symbol": "DAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "ZIM",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_zim",
      "name": "SMA Signal Long (ZIM@1h)",
      "priority": 3,
      "trade_symbol": "ZIM"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_ual",
      "name": "TP: Near Resistance[1] (UAL@1h)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "UAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_dal",
      "name": "TP: Near Resistance[1] (DAL@1h)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_zim",
      "name": "TP: Near Resistance[1] (ZIM@1h)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "ZIM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_ual",
      "name": "SL: Below Support[1] (UAL@1h)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_dal",
      "name": "SL: Below Support[1] (DAL@1h)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_zim",
      "name": "SL: Below Support[1] (ZIM@1h)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "ZIM"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1h",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Iran peace deal sending oil prices down — ride the relief rally in airline and shipping stocks'. Thesis: When a major chokepoint for global oil shipments reopens, fuel prices typically drop as the risk of disruption fades. Airlines operate on razor-thin margins and jet fuel is their single biggest expense, so cheaper oil goes straight to their bottom line. Shipping companies also benefit from lower fuel costs and a return to normal routing. Since news of the deal broke over the weekend, buying these transportation stocks early in the week captures the market adjusting to suddenly lower operating costs.

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