Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

trader-budget

Skill by Jakeschincariol

Budget Manager sizes each position to a set budget before anything is bought. It writes proposed buy orders to trader/orders.json and places nothing. It is for users copying a portfolio's weights.

  • Score 83
  • 2.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install trader-budget

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Jakeschincariol/trader-skill /tmp/trader-skill && mkdir -p ~/.claude/skills && cp -r /tmp/trader-skill/trader-budget ~/.claude/skills/trader-budget

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install trader-budget in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Budget Manager turns a list of target weights into exact dollar amounts for each stock. The user sets rules once: a cash buffer, a cap on any one stock, a minimum and maximum order size, and whether the broker supports fractional shares. The skill then shares any excess above the cap across the other stocks, drops slices below the minimum order, and rounds so the budget is used.

The skill writes only proposals. It saves the buy orders to trader/orders.json in the shape of Alpaca's place_stock_order, with notional as a string. Nothing is placed. The source says it is for users who want to split a budget across copied targets, such as after running trader-copycat. Paper trading is the default.

Written from the project's SKILL.md and checked against it.

What it can do

  • Cash bufferKeeps a set percentage of the budget in cash before sizing positions.
  • Position capCaps any one stock and shares the excess among the other stocks by weight.
  • Minimum order filterDrops slices smaller than the minimum order and shares out their weight.
  • Full budget roundingRounds amounts to whole dollars so the leftover rounding dollar is invested.
  • Fractional or whole sharesSupports fractional shares, or whole shares when real prices are provided.
  • Proposed order fileWrites proposed buy orders to trader/orders.json in Alpaca's place_stock_order shape.

What you need

  • Python 3
  • A trader/config.json rules file
  • Target weights from trader-copycat (trader/targets.json)
  • Optional trader/prices.json from trader-alerts for whole shares

Try asking

  • I have $5,000, size my trades with a 10% cash buffer
  • No stock over 25%, how much of each should I buy?
  • Size my trades for whole shares using trader/prices.json

Good to know

  • Proposals only. Nothing is placed and no broker tool is called by this skill.
  • Not financial advice. It does not predict prices or promise returns.
  • Does not size options, margin or short positions.
  • Whole shares need real prices in trader/prices.json.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: trader-budget/SKILL.md, trader-budget/size.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • config.example.json349 B
  • size.py19 KB
  • targets.example.json610 B

Alternatives to trader-budget

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

trader-budget: common questions

Does Budget Manager place trades?

No. The source says it writes proposed buy orders to trader/orders.json and nothing is placed.

What happens when a stock goes over the cap?

The stock is pinned at the cap and its excess is shared over the other stocks by weight until no stock is over the cap.

Can it handle whole shares?

Yes. Whole shares require real prices from trader/prices.json, and the source says it never invents a price.

How do I install trader-budget?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is trader-budget free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is trader-budget safe to use?

It scores 83 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to trader-budget?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

trader-budget Install

Add to stack

Loading.