Individual skill

nse-risk

Risk Manager for NSE/BSE. Checks every trade against your limits and stops anything over them, before it can reach the broker. For an intraday (MIS) trade: a stop is required, the loss at the stop INCLUDING charges must fit your max loss per trade, reward:risk after charges must meet your minimum, the day's total risk must fit your daily loss limit, no more than your trades per day, entries only inside your window (IST, NSE holidays and Muhurat sessions), no entry in the last minutes before continuous trading ends (F&O stocks stop at 15:15 until 2026-12-06), and the order must carry a flat_by at least 5 minutes before the configured broker's MIS auto square-off for that stock and day. India rules: series BE/BZ cannot be MIS, GSM/ASM stocks block MIS and warn on delivery, entry/stop/target must sit inside the circuit band from sec_list.csv, CNC can never be sold short. Plus the basics: blocked symbols, order size, position cap, cash buffer and MIS margin, F&O, malformed orders and GTTs, duplicates and a daily order limit. Getting out is never blocked. Prints PASS or BLOCK with the reason and records the verdicts so nse-broker only shows an order that passed. Use when the user says "check my order", "is this safe", "risk check", "does this break my rules", "can I take this trade", "is RELIANCE in a circuit", "how much have I risked today", or before /nse-broker, always.

nse-risk/SKILL.md

Read pinned source

Source commit 6fcc8d46032dd551ad89c51745fd95a32db5edfa

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
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.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# nse-risk

On Windows, use `py` in place of `python3`.

The Risk Manager is the gate between a proposal and the broker. Every order
written by nse-budget or nse-broker's flatten passes through it. A BLOCK is
final for that order: it does not go to the user for a yes, and it does not go
to the broker. Most people who trade intraday lose money. These limits keep
each loss and each day's losses small. They do not make a trade win.

`${CLAUDE_SKILL_DIR}` below is this skill's folder (where this SKILL.md lives).

```bash
python3 "${CLAUDE_SKILL_DIR}/check.py"                           # nse/ files; writes nse/state/risk.json
Back to top