Skip to content
Skills Library
Finance & accounting · Review & audit

trader-risk

/trader-risk

Risk manager for a USDT-M order. Blocks a trade that breaks the stop rule, the max loss, the daily loss, the leverage cap, isolated-only margin, liquidation-before-stop, reward to risk, funding that exceeds the target, or a small-cap pump warning. Prints PASS or BLOCK and records it so the broker can require that exact order. Use before trader-broker, always, when the user says check this, is this inside my rules, or can I take it.

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: binance_public.py, check.py

What it does and when to use it

Risk manager for a USDT-M order. Blocks a trade that breaks the stop rule, the max loss, the daily loss, the leverage cap, isolated-only margin, liquidation-before-stop, reward to risk, funding that exceeds the target, or a small-cap pump warning. Prints PASS or BLOCK and records it so the broker can require that exact order. Use before trader-broker, always, when the user says check this, is this inside my rules, or can I take it.

Arguments

/trader-risk [--orders trader/orders.json]
Original author description

Risk manager for a USDT-M order. Blocks a trade that breaks the stop rule, the max loss, the daily loss, the leverage cap, isolated-only margin, liquidation-before-stop, reward to risk, funding that exceeds the target, or a small-cap pump warning. Prints PASS or BLOCK and records it so the broker can require that exact order. Use before trader-broker, always, when the user says check this, is this inside my rules, or can I take it.

How it works

  1. Files
  2. Steps
  3. Safety
Original SKILL.md headings · 62 lines, 408 words
SKILL.md preview
---
name: trader-risk
description: >-
  Risk manager for a USDT-M order. Blocks a trade that breaks the stop rule,
  the max loss, the daily loss, the leverage cap, isolated-only margin,
  liquidation-before-stop, reward to risk, funding that exceeds the target,
  or a small-cap pump warning. Prints PASS or BLOCK and records it so the
  broker can require that exact order. Use before trader-broker, always,
  when the user says check this, is this inside my rules, or can I take it.
argument-hint: "[--orders trader/orders.json]"
---

# trader-risk

A BLOCK stops the order. It does not go to the user for a yes, and it does
not go to the exchange. These limits keep one loss and one day small. They
do not make a trade win. Not financial advice.

Getting out is different. A `reduceOnly` order is not stopped by the daily
trade count or the pump rule. Closing a bad position should not be held
hostage by the rule that limited opening it. It still has to be the order
the user confirms.

`${CLAUDE_SKILL_DIR}` is this folder.

```bash
python3 "${CLAUDE_SKILL_DIR}/check.py"
python3 "${CLAUDE_SKILL_DIR}/check.py" --now "2026-10-21 00:20" --json
python3 "${CLAUDE_SKILL_DIR}/check.py" --no-write
```

Checks on an opening order:

| rule | meaning |
| --- | --- |
| stop | required, and on the correct side of the entry |
| reward:risk | at least `min_reward_risk` (default 1) |
| max loss | quantity times the stop distance, capped in USDT and by `risk_pct_per_trade` |
| daily loss | today's planned losses plus this one, from the broker log |
| trades today | opening orders only, UTC day, 24/7 |
| leverage | at most the config cap and the symbol cap |
| margin | isolated, unless `allow_cross` |
| shorts | blocked unless `allow_short` |
| liquidation | must sit beyond the stop by `liq_buffer_pct` |
| funding | a `funding_cost_above_reward` warning blocks |
| pump | `pump`, `dump`, `thin_move`, `small_cap_volatile` block unless `allow_volatile` |
| paper | an order marked live is blocked while config paper is true |

The verdict is stored in `trader/state/risk.json` with the order fingerprint.
trader-broker treats a PASS from a different UTC day, or a different
fingerprint, as not ready.

## Files

| file | what |
| --- | --- |
| `trader/orders.json` | the proposal |
| `trader/config.json` | the limits |
| `trader/state/broker.json` | what was already placed today |
| `trader/state/risk.json` | PASS or BLOCK |

## Steps

1. Run the check after every change to size or price. A stale PASS is not a PASS.
2. Read every BLOCK reason. Do not round it off.
3. Only a PASS goes to `/trader-broker`, and even then the user must type yes.

## Safety

Not financial advice. Paper by default. No options. No cross margin and no
shorts unless the config says so in writing. Keys are never part of this
check. The user types yes in the broker step, not here.
Files in this package (3)
  • SKILL.md 3 KB
  • binance_public.py 35 KB
  • check.py 9 KB

Versions

RepositoryScoreLicence
This page · AtiqMunawwar/crypto-day-trader-skill100MIT
devfn93/stock-trade-skill100MIT
rajumegal01-source/nse-day-trader-skill100MIT
jakeschincariol/day-trader-skill100MIT
KshitijBisht/bharat-trader-skill100MIT
jakeschincariol/trader-skill100MIT
sandysc0202-beep/day-trader-skill-india87MIT
rajdavee/bharat-trader87MIT
trmxvibs/day-trader-skill-india87MIT

Database snapshot: 13.11.2026 · package version 9525d7c0c3c0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100trader-exit
    Exit planner for a USDT-M perpetual. Sets the stop and the target before entry, from the UTC opening range, a percent, a price, or ATR, then estimates isolated liquidation, the leverage cap, and funding paid over the hold. Writes trader/plan.json. Use when the user says plan the…
  • 100crypto-risk
    Risk Manager for crypto trades. Checks every planned trade against the user's rules before they place it and blocks anything over them: stop loss required, max risk per trade, max leverage, liquidation before the stop, minimum reward:risk, margin vs balance, max open positions…
  • 100crypto-risk
    Risk Manager for crypto trades. Checks every planned trade against the user's rules before they place it and blocks anything over them: stop loss required, max risk per trade, max leverage, liquidation before the stop, minimum reward:risk, margin vs balance, max open positions…
  • 100trader-broker
    Paper Journal for the NSE (India) version. Records your decision on each proposed order: shows each order as a plain ticket in rupees (a bracket shows its stop-loss, take-profit and the max loss at the stop), records your yes word for word as a paper "placed" record, records a…
  • 100crypto-risk
    Risk Manager for crypto perpetual futures: the gate between a proposal and the exchange. Checks every order in crypto/orders.json against the user's limits and stamps PASS or BLOCK into the file with a fingerprint of the exact order: the max loss per trade (fees, slippage and…
  • 100trader-broker
    Binance USDT-M order tickets. Prints the exact margin type, leverage, entry, stop-market and take-profit requests, paper by default, and sends nothing unless paper is off, --live is passed, the environment holds the API key and secret, trader-risk passed this fingerprint today,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.