Individual skill
nse-budget
Budget Manager for NSE/BSE. Sizes every position to your capital and your max loss per trade, charges included. Reads the trade plan from nse-exit (entry, stop, target, MIS or CNC), finds the whole shares that fit inside four limits (max loss at the stop INCLUDING round-trip STT, brokerage, GST and stamp duty; position cap; max order; cash or MIS margin after your buffer), says which limit decided it, and writes the order set to nse/orders.json: an entry LIMIT plus an SL-M stop for MIS intraday, or an entry plus a GTT OCO stop/target for CNC delivery. A stop too far for your max loss is a plain refusal, not a smaller order. Also splits a CNC budget (for example Rs 5 lakh) across Nifty names by weight. Nothing is placed. Use when the user says "how many shares", "size this trade", "how much should I buy", "I have 2 lakh", "I only want to risk Rs 1,000 a trade", "set my rules", "keep 10% in cash", "how much margin", "allocate my portfolio across Nifty stocks", or after /nse-exit writes a plan for RELIANCE, TCS, HDFCBANK or any NSE stock.
nse-budget/SKILL.md
Source commit 6fcc8d46032dd551ad89c51745fd95a32db5edfa
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 9
- Repository last updated
- Oct 29, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- backtesting Repository topic
- bse Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- indian-stock-market Repository topic
- kite Repository topic
- nifty Repository topic
- nse Repository topic
- paper-trading Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesSKILL.mdcore · 12,842 bytesconfig.example.jsonasset · 823 bytessize.pyruns · 77,079 bytestargets.example.jsonasset · 506 bytes
Read excerpt
# nse-budget
On Windows, use `py` in place of `python3`.
The Budget Manager turns a plan ("buy RELIANCE at 1196.10, stop 1188.50")
into an exact order ("buy 118 shares"), inside rules the user sets once. The
stop decides the size: the further away the stop, the fewer shares. It writes
a proposal only. nse-risk checks it and nse-broker asks the user yes or no.
Most people who trade intraday lose money. Sizing to a max loss keeps each
loss small; it does not make a trade win.
`${CLAUDE_SKILL_DIR}` below is this skill's folder (where this SKILL.md lives).
```bash