Loading…
Public trading strategy

AI memory costs are crushing gadget makers — bet on the chip suppliers over the

Created

Thesis

There is a stark divergence forming inside the tech sector based on the recent news. On one hand, Micron reported a blowout quarter with revenue quadrupling, effectively locking in massive AI demand and sending memory suppliers soaring. On the other hand, end-user hardware giants like Apple are getting slammed in the market because they are forced to raise consumer prices to cover those exact, skyrocketing memory costs. Even Microsoft is suffering a historic stock rout as investors panic over their heavy spending. While a general tech sell-off dragged Micron down briefly, the underlying fundamentals suggest the component suppliers hold the pricing power here, making a trade that bets on suppliers outperforming the hardware brands highly attractive.

Strategy approach

Construct a long/short pairs trade: go long MU (Micron) and short an equal dollar amount of AAPL (Apple). Enter the trade when MU is within 5% of its 20-day high and AAPL has dropped below its 50-day moving average. Exit the entire pair if MU drops more than 8% from entry, or if the spread between the two stocks converges by 5% in profit. Use a 45-day holding period.

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/DONCHIAN/ADX Crossover Short (AAPL@1d) (4 conditions)
  • Entry: SMA Signal Long (SAND@1d) (1 condition)
  • Exit: SL: Below Support[1] (AAPL@1d) (1 condition)
  • Exit: SL: Below Support[1] (AAPL@1d) (1 condition)
  • Exit: Stop Loss at 2.6% (1 condition)
  • Exit: Take Profit at 5.2% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "SAND",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_1",
      "name": "SMA/DONCHIAN/ADX Crossover Short (AAPL@1d)",
      "priority": 1,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2",
      "name": "SMA Signal Long (SAND@1d)",
      "priority": 2,
      "trade_symbol": "SAND"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5822000000000003
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.6%",
      "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": 5.1644000000000005
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 5.2%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5822000000000003,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "adx",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "SAND",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_1",
      "name": "SMA/DONCHIAN/ADX Crossover Short (AAPL@1d)",
      "priority": 1,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2",
      "name": "SMA Signal Long (SAND@1d)",
      "priority": 2,
      "trade_symbol": "SAND"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5822000000000003
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.6%",
      "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": 5.1644000000000005
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 5.2%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5822000000000003,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'AI memory costs are crushing gadget makers — bet on the chip suppliers over the brands'. Thesis: There is a stark divergence forming inside the tech sector based on the recent news. On one hand, Micron reported a blowout quarter with revenue quadrupling, effectively locking in massive AI demand and sending memory suppliers soaring. On the other hand, end-user hardware giants like Apple are getting slammed in the market because they are forced to raise consumer prices to cover those exact, skyrocketing memory costs. Even Microsoft is suffering a historic stock rout as investors panic over their heavy spending. While a general tech sell-off dragged Micron down briefly, the underlying fundamentals suggest the component suppliers hold the pricing power here, making a trade that bets on suppliers outperforming the hardware brands highly attractive.

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