Skip to content
Back to skills

Trading Alerts

ASecurity

Price alerts for any market - above or below a price, a trade's stop and target (long or short), a percent move from the previous close, a time on the exchange clock, the opening bell and minutes before the close, plus stop and target alerts for every open trade in the journal in one go. Works out each exchange's session from the data (NYSE, Nasdaq, NSE, BSE, LSE, TSE...) so holidays need no tables; each alert rings once; optional desktop notifications. Use when the user says "alert me when",...

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentspythongobash

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add reddygopalkrishna/trading-skills --skill trading-alerts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trading Alerts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trading Alerts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/reddygopalkrishna-trading-alerts/badge)](https://www.skillsdirectory.com/skills/reddygopalkrishna-trading-alerts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: trading-alerts
description: Price alerts for any market - above or below a price, a trade's stop and target (long or short), a percent move from the previous close, a time on the exchange clock, the opening bell and minutes before the close, plus stop and target alerts for every open trade in the journal in one go. Works out each exchange's session from the data (NYSE, Nasdaq, NSE, BSE, LSE, TSE...) so holidays need no tables; each alert rings once; optional desktop notifications. Use when the user says "alert me when", "tell me if RELIANCE crosses 1400", "watch my stop", "remind me to close by 3:20", "is the market open", "when does NSE open", or right after a trade is planned or opened.
license: MIT
metadata:
  author: reddygopalkrishna
  version: "0.2.0"
  pack: trading-skills
---

# Price Alerts (`trading-alerts`)

Alerts watch the numbers so the user does not have to stare at a chart. **An alert is information,
never an order:** when a stop alert rings, nothing is sold by this skill. Protective orders at the
broker (bracket, stop-loss, GTT from trading-broker) do the stopping; alerts say what happened.

```bash
python3 scripts/alerts.py add --symbol RELIANCE.NS --above 1400
python3 scripts/alerts.py add --symbol AAPL --below 340 --note "under the 50-day"
python3 scripts/alerts.py add --symbol TSLA --stop 358.32 --side long        # rings at or below
python3 scripts/alerts.py add --symbol TSLA --target 370.04 --side long      # rings at or above
python3 scripts/alerts.py add --symbol INFY.NS --pct 3 --direction down
python3 scripts/alerts.py add --symbol NIFTYBEES.NS --open                   # NSE opening bell
python3 scripts/alerts.py add --symbol RELIANCE.NS --close 10                # 10 min before NSE closes
python3 scripts/alerts.py add --symbol AAPL --at 15:50 --label "flat by close"
python3 scripts/alerts.py add --from-journal                                 # every open trade's stop + target
python3 scripts/alerts.py check                    # exit 0 = something rang, 1 = nothing
python3 scripts/alerts.py check --notify           # also a desktop notification
python3 scripts/alerts.py clock RELIANCE.NS AAPL   # open / pre-open / closed, session times
python3 scripts/alerts.py list | remove ID | reset [ID]
```

Options on `add`: `--date YYYY-MM-DD` (watch that day only), `--rearm` (ring again after the price
goes back across), `--note`.

## How it works

- `check` fetches only the symbols in the rules (free, delayed Yahoo quotes; or the configured
  provider, e.g. a broker feed for live prices) and rings each rule once. Time, open and close alerts ring
  once per trading day, only on days the exchange has a session.
- Times are the **exchange's local time** (NSE 09:15-15:30 IST, NYSE 09:30-16:00 ET...), worked out
  from the data, never from the computer's time zone.
- Rules: `~/.trading-skills/alerts.json`; what rang: `state/alerts.json`.

## Steps

1. Right after trading-plan / trading-broker opens a trade, offer `add --from-journal` and a
   close-of-day alert for intraday trades. Confirm every new rule back: symbol, type, level, day.
2. While trades are open, run `check` every few minutes: `/loop 5m` or a scheduled task. Quotes are
   delayed and a price can pass a level between two checks: say so when it matters.
3. When a stop or target rings, check the position at the broker (trading-broker `positions`) and
   record the fill in trading-journal. When a close alert rings for an intraday trade, close it the
   normal way: trading-risk check -> trading-broker preview -> the user's explicit confirm. Never act
   for the user.

Files in this skill

  • SKILL.md3.5 KB
  • scripts/_vendor/tradekit/__init__.py516 B
  • scripts/_vendor/tradekit/alerts.py7.5 KB
  • scripts/_vendor/tradekit/analysis.py10.3 KB
  • scripts/_vendor/tradekit/backtest.py17.8 KB
  • scripts/_vendor/tradekit/brokers/__init__.py1022 B
  • scripts/_vendor/tradekit/brokers/_rest.py2.7 KB
  • scripts/_vendor/tradekit/brokers/base.py3.5 KB
  • scripts/_vendor/tradekit/brokers/dhan.py6.8 KB
  • scripts/_vendor/tradekit/brokers/fyers.py7.1 KB
  • scripts/_vendor/tradekit/brokers/groww.py7.7 KB
  • scripts/_vendor/tradekit/brokers/kite.py14.5 KB
  • scripts/_vendor/tradekit/brokers/paper.py12.7 KB
  • scripts/_vendor/tradekit/brokers/upstox.py7.8 KB
  • scripts/_vendor/tradekit/cli.py2.4 KB
  • scripts/_vendor/tradekit/config.py6 KB
  • scripts/_vendor/tradekit/data.py18.5 KB
  • scripts/_vendor/tradekit/disclosures.py17.4 KB
  • scripts/_vendor/tradekit/expr.py19 KB
  • scripts/_vendor/tradekit/feeds.py9.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.