Loading…
Public trading strategy

Chip stocks are crashing but trading desks are booming — ride the rotation into

Created

Thesis

JPMorgan and Goldman Sachs just reported their highest quarterly trading revenues ever because clients are panic-selling and repositioning their portfolios amid geopolitical chaos. At the same time, there is a massive sell-off in AI and semiconductor stocks. When tech stocks crash and volatility spikes, big banks make massive fees handling the trading chaos, creating a perfect environment to buy bank stocks while the selling pressure hits the rest of the market.

Strategy approach

Build a rule-based swing strategy entering long KRE or XLF on D1. Entry conditions: buy when the ETF closes up >2% for the day while the SOXX (Semiconductor ETF) closes down >2% on the exact same session. Exit conditions: 5% fixed stop loss or a 15-day holding period, whichever triggers first.

Markets and timeframes

Latest published rule evaluation

Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.

GS · 1d

1 of 3 published entry conditions marked met.

  • ROC (1) above 2 — far
  • EMA (50) below Price — met
  • ATR (14) above 0.5 — unknown

JPM · 1d

1 of 3 published entry conditions marked met.

  • ROC (1) above 2 — far
  • EMA (50) below Price — met
  • ATR (14) above 0.5 — unknown

KRE · 1d

No entry condition values were published.

XLF · 1d

1 of 3 published entry conditions marked met.

  • ROC (1) above 2 — far
  • EMA (50) below Price — met
  • ATR (14) above 0.5 — unknown

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: ROC/EMA/ATR Signal Long (XLF@1d) (5 conditions)
  • Entry: ROC/EMA/ATR Signal Long (GS@1d) (5 conditions)
  • Entry: ROC/EMA/ATR Signal Long (JPM@1d) (5 conditions)
  • Exit: Take Profit at 15.0% (1 condition)
  • Exit: TP: Near Resistance[1] (XLF@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (GS@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (JPM@1d) (1 condition)
  • Exit: SL: Below Support[2] (XLF@1d) (1 condition)
  • Exit: SL: Below Support[2] (GS@1d) (1 condition)
  • Exit: SL: Below Support[2] (JPM@1d) (1 condition)
  • Exit: Stop Loss at 2.4% (1 condition)
  • Exit: Take Profit at 4.8% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLF",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:GS",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:JPM",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlf",
      "name": "ROC/EMA/ATR Signal Long (XLF@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:XLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_gs",
      "name": "ROC/EMA/ATR Signal Long (GS@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:GS"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_jpm",
      "name": "ROC/EMA/ATR Signal Long (JPM@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:JPM"
    }
  ],
  "exit_rules": [
    {
      "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_1",
      "name": "Take Profit at 15.0%",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlf",
      "name": "TP: Near Resistance[1] (XLF@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_gs",
      "name": "TP: Near Resistance[1] (GS@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:GS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jpm",
      "name": "TP: Near Resistance[1] (JPM@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:JPM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlf",
      "name": "SL: Below Support[2] (XLF@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_gs",
      "name": "SL: Below Support[2] (GS@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:GS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_jpm",
      "name": "SL: Below Support[2] (JPM@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:JPM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.4121
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.4%",
      "priority": 100,
      "purpose": "stop_loss"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 4.8242
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.4121,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "roc",
      "period": 1
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "atr",
      "period": 14
    },
    {
      "name": "roc",
      "period": 1
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "atr",
      "period": 14
    },
    {
      "name": "roc",
      "period": 1
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "atr",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLF",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:GS",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:JPM",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlf",
      "name": "ROC/EMA/ATR Signal Long (XLF@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:XLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:GS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_gs",
      "name": "ROC/EMA/ATR Signal Long (GS@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:GS"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 2
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JPM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_jpm",
      "name": "ROC/EMA/ATR Signal Long (JPM@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:JPM"
    }
  ],
  "exit_rules": [
    {
      "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_1",
      "name": "Take Profit at 15.0%",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlf",
      "name": "TP: Near Resistance[1] (XLF@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_gs",
      "name": "TP: Near Resistance[1] (GS@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:GS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jpm",
      "name": "TP: Near Resistance[1] (JPM@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:JPM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlf",
      "name": "SL: Below Support[2] (XLF@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_gs",
      "name": "SL: Below Support[2] (GS@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:GS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_jpm",
      "name": "SL: Below Support[2] (JPM@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:JPM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.4121
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.4%",
      "priority": 100,
      "purpose": "stop_loss"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 4.8242
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.4121,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Chip stocks are crashing but trading desks are booming — ride the rotation into big banks'. Thesis: JPMorgan and Goldman Sachs just reported their highest quarterly trading revenues ever because clients are panic-selling and repositioning their portfolios amid geopolitical chaos. At the same time, there is a massive sell-off in AI and semiconductor stocks. When tech stocks crash and volatility spikes, big banks make massive fees handling the trading chaos, creating a perfect environment to buy bank stocks while the selling pressure hits the rest of the market.

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