Big banks ace the Fed's stress test and unleash cash — buy the financial payout
Created
Thesis
When banks pass the government's stress test with flying colors, it gives them the green light to return excess cash to shareholders. A $50 billion buyback from JPMorgan essentially means the company is committing to buy its own stock, which supports the share price by reducing the number of shares available. Combined with Goldman raising its cash payouts to investors, these moves make both stocks highly attractive and usually trigger a wave of buying from large institutional investors.
Strategy approach
Build a rule-based long strategy entering on JPM and GS on the Daily timeframe. Entry conditions: enter when the 9-day EMA crosses above the 21-day EMA and daily volume is >120% of the 20-day average volume. Exit conditions: close position if the 9-day EMA crosses below the 21-day EMA, or if price drops 4% below the entry price. Set a max hold period of 30 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: EMA/OBV Crossover Long (JPM@1d) (2 conditions)
- Entry: EMA/OBV Crossover Long (GS@1d) (2 conditions)
- Exit: EMA Crosses Below Exit (JPM@1d) (1 condition)
- Exit: EMA Crosses Below Exit (GS@1d) (1 condition)
- Exit: TP: Near Resistance[1] (JPM@1d) (1 condition)
- Exit: TP: Near Resistance[1] (GS@1d) (1 condition)
- Exit: SL: Below Support[1] (JPM@1d) (1 condition)
- Exit: SL: Below Support[1] (GS@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": "JPM",
"timeframe": "1d"
},
{
"symbol": "GS",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "obv"
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 120
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_jpm",
"name": "EMA/OBV Crossover Long (JPM@1d)",
"priority": 1,
"trade_symbol": "JPM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "obv"
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 120
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gs",
"name": "EMA/OBV Crossover Long (GS@1d)",
"priority": 2,
"trade_symbol": "GS"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_jpm",
"name": "EMA Crosses Below Exit (JPM@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "JPM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_gs",
"name": "EMA Crosses Below Exit (GS@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "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": 97,
"purpose": "take_profit",
"target_symbol": "JPM"
},
{
"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": "GS"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_jpm",
"name": "SL: Below Support[1] (JPM@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "JPM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_gs",
"name": "SL: Below Support[1] (GS@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "GS"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4051
}
}
],
"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.8102
}
}
],
"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.4051,
"support_stop_rank": 1,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "obv"
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "obv"
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "JPM",
"timeframe": "1d"
},
{
"symbol": "GS",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "obv"
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 120
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_jpm",
"name": "EMA/OBV Crossover Long (JPM@1d)",
"priority": 1,
"trade_symbol": "JPM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "obv"
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 120
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gs",
"name": "EMA/OBV Crossover Long (GS@1d)",
"priority": 2,
"trade_symbol": "GS"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "JPM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_jpm",
"name": "EMA Crosses Below Exit (JPM@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "JPM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "GS",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_gs",
"name": "EMA Crosses Below Exit (GS@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "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": 97,
"purpose": "take_profit",
"target_symbol": "JPM"
},
{
"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": "GS"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_jpm",
"name": "SL: Below Support[1] (JPM@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "JPM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_gs",
"name": "SL: Below Support[1] (GS@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "GS"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4051
}
}
],
"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.8102
}
}
],
"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.4051,
"support_stop_rank": 1,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Big banks ace the Fed's stress test and unleash cash — buy the financial payout wave'. Thesis: When banks pass the government's stress test with flying colors, it gives them the green light to return excess cash to shareholders. A $50 billion buyback from JPMorgan essentially means the company is committing to buy its own stock, which supports the share price by reducing the number of shares available. Combined with Goldman raising its cash payouts to investors, these moves make both stocks highly attractive and usually trigger a wave of buying from large institutional investors.
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