paper-trade-runner

paper-trade-runner is a skill for Claude Code, Codex from rahulcommercial/claude-code-for-indian-traders. It costs 74 tokens per session (700 once invoked), scanned A, original, MIT.

A simulator for testing intraday trading signals in Indian markets without placing real orders. It treats live prices as simulated trades, manages stop-losses and targets, and records results through the trading day.

In plain words
What is it for?
Use it to generate signals, simulate Nifty or BankNifty options trades, track available capital and profit or loss, and close positions at the end of the day.
Why use it?
It lets you evaluate a strategy and build a performance history without risking real money.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate signals, simulate Nifty or BankNifty options trades, track available capital and profit or loss, and close positions at the end of the day.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rahulcommercial/claude-code-for-indian-traders --skill paper-trade-runner
Clone the repo
git clone --depth 1 https://github.com/rahulcommercial/claude-code-for-indian-traders

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper-trade-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner/github.svg)](https://agentmods.dev/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner)
Your own site
<a href="https://agentmods.dev/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner"><img src="https://agentmods.dev/badge/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper-trade-runner

Your own site · 80×15
<a href="https://agentmods.dev/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner"><img src="https://agentmods.dev/badge/skills/rahulcommercial/claude-code-for-indian-traders/paper-trade-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00700
Opus 5 $0.00037 $0.00350
Sonnet 5 $0.00015 $0.00140
Haiku 4.5 $0.00007 $0.00070

Measured 12d ago against content hash 567575a3f8a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

paper-trade-runner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paper-trade-runner/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Paper Trade Runner

The pattern behind a working signal-only daemon for Nifty / BankNifty intraday options.

When to use

  • User wants to test a strategy in live market conditions without real money.
  • User wants signals delivered (UI / log / notification) but no order execution.
  • User wants to build a P&L track record before sizing up.

Core loop

every N seconds during market hours (09:15 – 15:30 IST):
  1. fetch live quotes / candles
  2. evaluate entry rules → generate signal (or skip)
  3. for each open position:
       a. update mark-to-market
       b. check stop-loss / target / time-stop
       c. if hit → resolve, log, free capital
  4. at 15:20 IST → force-close all open positions (intraday safety)
  5. at 15:35 IST → write EOD summary

Required components

  • Signal generator — pure function: (market_state) → Signal | None. Easy to unit test.
  • Position store — JSON / SQLite. Each row: entry_time, instrument, side, qty, entry_price, sl, target, status, exit_time, exit_price, pnl.
  • Capital tracker — starting balance, available margin, blocked margin. Reject signals that exceed available capital.
  • Loss cap — hard stop at configurable daily DD (default: 5% of starting capital). Once hit, no new signals till next day.

Signal schema

{
  "id": "sig_20260606_0934_01",
  "instrument": "NIFTY26JUN24200CE",
  "side": "BUY",
  "qty": 50,
  "entry_price": 142.50,
  "stop_loss": 120.00,
  "target": 180.00,
  "rationale": "20EMA crossover + rising OI on 24200 CE",
  "generated_at": "2026-06-06T09:34:12+05:30"
}

EOD review

At 15:35 IST, emit:

  • Total signals generated / taken / passed
  • Win rate, avg win, avg loss, expectancy
  • Max DD intraday
  • Best and worst trade with rationale

Feed this into daily-pnl-reviewer skill for journaling.

Hard rules

  • No kite.place_order() call. Ever. This skill is signal-only.
  • No leveraged sizing assumptions. Use actual lot sizes and SEBI margin.
  • Square off at 15:20 IST — intraday convention; avoids auto-square-off charges.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 73 lines · 74 tokens per session scan A 567575a3f8a4

Subscribe to this mod's changes

paper-trade-runner is a skill published in the GitHub repository rahulcommercial/claude-code-for-indian-traders (2 stars, last pushed 3mo ago), licensed MIT. It adds 74 tokens to every session and 700 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

weekly-fno-trade-planner

Weekly F&O trade planning skill for Indian markets. Analyzes news/macro events, identifies trending sectors and instruments, determines probable direction, suggests option strategy with entry/exit levels, and manages stop-loss and profit booking after position entry. Use when user wants a weekly trade idea, F&O…

ajeeshworkspace/indian-trading-skills · 86 tokens

india-news-tracker

Track and analyze Indian stock market news, corporate announcements, SEBI circulars, bulk/block deals, and earnings calendars. Auto-fetches headlines from MoneyControl, Economic Times, LiveMint, BSE/NSE filings. Use when the user asks about recent news, corporate actions, upcoming events, or wants a daily market news…

ajeeshworkspace/indian-trading-skills · 76 tokens

options-strategy-advisor

Options strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.

ajeeshworkspace/indian-trading-skills · 53 tokens

india-market-breadth

Analyze Indian market breadth health using advance/decline data, stocks above moving averages, new highs/lows, and sector participation. Use when assessing rally quality, market participation width, or equity exposure levels for NSE/BSE.

ajeeshworkspace/indian-trading-skills · 51 tokens

india-stock-analysis

Use when user requests analysis of Indian stocks, fundamental assessment, technical review, comparisons, or investment reports for NSE/BSE listed companies.

ajeeshworkspace/indian-trading-skills · 31 tokens

backtest-expert

Expert guidance for systematic backtesting of trading strategies on Indian markets (NSE/BSE). Use when developing strategies, testing robustness, avoiding overfitting, or validating trading ideas.

ajeeshworkspace/indian-trading-skills · 41 tokens