agentsclimarketplace

Relative strength strategy

Skill yogeshg665/quill-trading-agent/skills/relative-strength-strategy

Trade US equities by their strength relative to the benchmark (SPY). Buy names that outperform the index over the lookback window and exit held names that lag, suppressing new buys in a risk-off regime. WHEN: "relative strength", "outperforming the S&P", "beating SPY", "leaders vs laggards", "buy the market leaders", "exit the laggards", "alpha vs benchmark".From its SKILL.md

Install
npx -y skills add yogeshg665/quill-trading-agent --skill relative-strength-strategy

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, 503 tokens by cl100k_base, as published. Nobody here has run it

Relative-Strength Strategy

Overview

A US-market strategy that ranks each watchlist name by its trailing return relative to the benchmark (SPY by default). Names that meaningfully outperform the index earn a small buy tranche; held names that meaningfully lag are exited. New buys are suppressed when the macro-regime agent has classified the tape as risk-off. The regime read is advisory and deterministic and never overrides a risk finding.

When to Use

  • During the strategy swarm, for symbols that have both their own and benchmark bars.
  • Do NOT use it when the benchmark has no price history; the strategy returns nothing.

Inputs

InputRequiredDescription
snapshot.bars[symbol]yesPrice bars for the candidate covering the lookback.
snapshot.bars[benchmark]yesPrice bars for the benchmark (SPY).
goals.benchmarknoBenchmark symbol; defaults to config.benchmark.symbol.
enrichment.market_regimenoAdvisory regime used to gate new buys.
config.strategy.relative_strengthyesLookback and outperform/underperform thresholds.

Process

  1. Compute the benchmark trailing return over the lookback window.
  2. For each candidate, compute its trailing return and the excess versus the benchmark.
  3. If the excess meets the outperform threshold and the regime is not risk-off, propose a small buy tranche.
  4. If the excess meets the underperform threshold and the name is held, propose an exit.

Outputs

Buy or sell OrderProposal objects, each citing the candidate return, the benchmark return, and the excess.

Rationalizations

ExcuseRebuttal
"It is up a lot, buy it regardless of the index."Strength is measured relative to SPY; absolute moves do not qualify.
"Override the risk-off regime, the name looks great."Regime gating is deterministic; the guardian still has final say either way.

Red Flags

  • A signal computed without benchmark bars.
  • A buy proposed during a risk-off regime.

Verification

  • Every proposal cites the excess return versus the benchmark.
  • New buys do not appear when enrichment.market_regime.regime is risk_off.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 625,312. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.