agentsclimarketplace

Rebalancing strategy

Skill yogeshg665/quill-trading-agent/skills/rebalancing-strategy

Quill - Deterministic, risk-governed multi-agent trading engine for US equities. A strategy swarm proposes orders; an independent risk guardian has final say. Paper mode by default, gated live Robinhood MCP execution.

Install
npx -y skills add yogeshg665/quill-trading-agent --skill rebalancing-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.

What its author says it does

Copied from the file, not written here

Propose trades that move the portfolio back toward its target weights when a holding drifts beyond the tolerance band. WHEN: "rebalance my portfolio", "drift back to target", "my weights are off", "bring positions to target allocation", "trim overweight and add underweight".

SKILL.md

1.8 KB, 340 tokens by cl100k_base, as published. Nobody here has run it

Rebalancing Strategy

Overview

A strategy that drives the portfolio toward the investor's target_weights. When a holding's weight drifts beyond the tolerance band, it proposes a whole-share buy or sell sized to close the gap, subject to a minimum trade notional.

When to Use

  • During the strategy swarm, whenever target_weights are defined.
  • Do NOT use it to chase performance; it only restores target allocations.

Inputs

InputRequiredDescription
goals.target_weightsyesDesired weight per symbol.
config.strategy.rebalancingyesDrift tolerance and minimum trade notional.

Process

  1. For each target symbol, compute the current weight and its drift from target.
  2. Skip symbols whose drift is within the tolerance band.
  3. Size a buy (underweight) or sell (overweight) to close the gap in whole shares.
  4. Skip trades below the minimum notional; cap sells at the held quantity.

Outputs

Whole-share buy or sell OrderProposal objects that reduce target drift, each citing the current and target weights.

Rationalizations

ExcuseRebuttal
"It is only slightly overweight, rebalance anyway."Inside the tolerance band, churn and costs outweigh the benefit; skip it.

Red Flags

  • A sell larger than the held quantity.
  • A proposal below the minimum trade notional.

Verification

  • Each proposal moves the holding toward its target weight.
  • No proposal trades a symbol already within tolerance.

Keep looking

Skills are one crate of 328,083. 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.