paper-report

paper-report is a command for Claude Code from joncovington/MEICAgent. It costs 0 tokens per session (1,035 once invoked), scanned A, original, MIT.

A command that creates a paper-trading performance report for a chosen date range. Paper trading simulates trades without using real money, and the report compares four risk profiles using both live-quote and historical trades.

In plain words
What is it for?
Use it to review trades, wins and losses, profit, drawdown, daily results, and risk-adjusted performance for the last week or another period.
Why use it?
It puts results from different simulation modes into one view, so you do not have to compare separate databases or calculate the main performance measures yourself.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python src/db.py --db data/paper_trades.db get_range_summary --start <YYYY-MM-DD> --end <YYYY-MM-DD>.

Good fit Use it to review trades, wins and losses, profit, drawdown, daily results, and risk-adjusted performance for the last week or another period.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/joncovington/MEICAgent
agentmods
npx agentmods add commands/joncovington/meicagent/paper-report

Made for: Claude Code.

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-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/joncovington/meicagent/paper-report/github.svg)](https://agentmods.dev/commands/joncovington/meicagent/paper-report)
Your own site
<a href="https://agentmods.dev/commands/joncovington/meicagent/paper-report"><img src="https://agentmods.dev/badge/commands/joncovington/meicagent/paper-report/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-report

Your own site · 80×15
<a href="https://agentmods.dev/commands/joncovington/meicagent/paper-report"><img src="https://agentmods.dev/badge/commands/joncovington/meicagent/paper-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,035 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.00000 $0.01035
Opus 5.5 $0.00000 $0.00414
Sonnet 5.5 $0.00000 $0.00207
Haiku 4.5 $0.00000 $0.00103

Measured 3mo ago against content hash 2e9a7b4e6311, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper-report 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 3mo 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.

.claude/commands/paper-report.md · 51 lines

How it starts

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

Produce the weekly (or custom-range) paper-trading performance report, comparing all four risk profiles side by side. Covers both execution_mode='paper' (forward, live-quote) and execution_mode='replay' (historical SPX) trades in one combined view, since both write to the same data/paper_trades.db schema.

1. Gather the range summary

python src/db.py --db data/paper_trades.db get_range_summary --start <YYYY-MM-DD> --end <YYYY-MM-DD>

Default the range to the last 7 calendar days ending today (ET) unless the user specifies a different window (e.g. "since program start", "last month"). This returns profiles: { "conservative": {...}, "moderate": {...}, "aggressive": {...}, "very-aggressive": {...} }, each with total_trades, win_count/loss_count/win_rate_pct, profit_factor, avg_win/avg_loss, expectancy_per_trade, max_consecutive_losses, max_drawdown, worst_day, net_pnl, and a daily_pnl series (date, net_pnl, cumulative_pnl) per profile.

2. Compute the risk-adjusted suite

get_range_summary gives dollar P&L and drawdown; derive the ratio metrics from each profile's daily_pnl series against the $100,000 virtual bankroll convention:

  • Period return for each day = net_pnl / 100000.
  • Sharpe = mean(period returns) / stdev(period returns), annualized by sqrt(252) if daily granularity.
  • Sortino = same, but the denominator uses only the downside deviation (stdev of negative returns only).
  • Calmar = (annualized return) / (max_drawdown / 100000).
  • Recovery factor = net_pnl / max_drawdown (skip if max_drawdown is 0).

Flag Sharpe > 3 or profit_factor > 4.0 as a likely overfit/curve-fit warning rather than a stronger pass — note this explicitly in the report rather than presenting it as unqualified good news.

3. Render equity + underwater curves

For each profile, build a markdown sparkline (or a compact ASCII bar sequence) from its daily_pnl.cumulative_pnl series (equity = 100000 + cumulative_pnl) and a parallel underwater curve (running peak − current equity). No plotting dependency needed — this is a text report.

Read the full file on GitHub · 51 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. 3mo ago First seen · 51 lines · 0 tokens per session scan A 2e9a7b4e6311

Subscribe to this mod's changes

paper-report is a command published in the GitHub repository joncovington/MEICAgent (7 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,035 tokens. 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

paper-report compared with commands from other repositories

paper-report next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paper-reportjoncovington/MEICAgentCommand74mo agoMITA0Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code