agentsclimarketplace

Concentration analysis

Skill yogeshg665/quill-trading-agent/skills/concentration-analysis

Detect single-name over-concentration and propose trims that bring an outsized position back under the per-position cap. WHEN: "am I too concentrated", "trim my biggest position", "reduce single-name risk", "this stock is too large a share", "cut overweight position".From its SKILL.md

Install
npx -y skills add yogeshg665/quill-trading-agent --skill concentration-analysis

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

1.7 KB, 315 tokens by cl100k_base, as published. Nobody here has run it

Concentration Analysis

Overview

A strategy that protects against single-name over-concentration. When a position's weight exceeds the per-position cap, it proposes a whole-share sell that trims the holding back to the cap.

When to Use

  • During the strategy swarm, on every run with held positions.
  • Do NOT use it for sector limits; that is enforced by the risk guardian.

Inputs

InputRequiredDescription
goals.max_position_pctyesThe maximum single-name weight.
portfolioyesHeld positions and their current valuations.

Process

  1. Compute each position's weight in the portfolio.
  2. Identify positions whose weight exceeds the per-position cap.
  3. Size a whole-share sell that brings the position back to the cap.
  4. Emit one sell proposal per over-concentrated name.

Outputs

Whole-share sell OrderProposal objects for over-concentrated positions, each citing the current weight and the cap.

Rationalizations

ExcuseRebuttal
"The winner keeps winning, let it ride past the cap."Concentration risk is independent of conviction; trim to the cap.

Red Flags

  • A trim that leaves the position still above the cap.
  • A sell on a position already within the cap.

Verification

  • Each proposal reduces an over-cap position toward the limit.
  • No proposal sells a within-cap position.

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 325,949. 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.