rqalpha

rqalpha is a skill for Claude Code from lzwme/finance-quant-skills. It costs 137 tokens per session (2,698 once invoked), scanned A, original, no licence file.

A skill for RQAlpha, an open-source event-driven framework for testing trading strategies against historical A-share and futures data.

In plain words
What is it for?
Use it to backtest A-share or futures strategies, use RQAlpha's bundled data, or develop RQAlpha extensions.
Why use it?
It gives developers a way to check how a trading strategy would have performed before using it in live markets.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quant-skills plugin — 6 skills shipped together

Good fit Use it to backtest A-share or futures strategies, use RQAlpha's bundled data, or develop RQAlpha extensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lzwme/finance-quant-skills/rqalpha
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 lzwme/finance-quant-skills --skill rqalpha
Clone the repo
git clone --depth 1 https://github.com/lzwme/finance-quant-skills

Made for: Claude Code.

Or install quant-skills, the plugin that ships this one along with the rest of its 6 skills.

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 rqalpha

README.md
[![agentmods](https://agentmods.dev/badge/skills/lzwme/finance-quant-skills/rqalpha/github.svg)](https://agentmods.dev/skills/lzwme/finance-quant-skills/rqalpha)
Your own site
<a href="https://agentmods.dev/skills/lzwme/finance-quant-skills/rqalpha"><img src="https://agentmods.dev/badge/skills/lzwme/finance-quant-skills/rqalpha/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 rqalpha

Your own site · 80×15
<a href="https://agentmods.dev/skills/lzwme/finance-quant-skills/rqalpha"><img src="https://agentmods.dev/badge/skills/lzwme/finance-quant-skills/rqalpha.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,698 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 unknown 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.00137 $0.02698
Opus 5.5 $0.00055 $0.01079
Sonnet 5.5 $0.00027 $0.00540
Haiku 4.5 $0.00014 $0.00270

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

Security

Grade A, and why

rqalpha 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 1mo 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/rqalpha/SKILL.md · 298 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 298 lines · 137 tokens per session scan A 03fd20683fae

Subscribe to this mod's changes

rqalpha is a skill published in the GitHub repository lzwme/finance-quant-skills (466 stars, last pushed 1mo ago), with no licence file. It adds 137 tokens to every session and 2,698 once invoked, about $0.0005 per session on Opus 5.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-30.

Related

Other skills, from other repositories

stock-liquidity

Analyze how liquid a stock is using Yahoo Finance data (yfinance): bid-ask spreads, volume and dollar volume (ADTV), top-of-book and options depth, square-root market impact and slippage estimates, turnover ratio, and Amihud illiquidity, rolled into a liquidity grade. Use this skill whenever the user asks about…

himself65/finance-skills · 129 tokens

company-valuation

Estimate a public company's intrinsic value with DCF, relative (peer multiple), and sum-of-the-parts (SOTP) methods, then blend them into an implied share price with upside/downside vs the market price, a WACC and terminal-growth sensitivity grid, and bull/base/bear scenarios. Use this skill whenever the user asks…

himself65/finance-skills · 155 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

fintel-data

Query Fintel (fintel.io) institutional market data through its REST API or official MCP server. Use this skill whenever the user mentions Fintel or asks about short interest, short interest ratio or days to cover, short squeeze data, borrow rate or cost to borrow, shares available to borrow, daily short volume…

himself65/finance-skills · 157 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

earnings-preview

Build a pre-earnings briefing for a stock from Yahoo Finance data (yfinance): the upcoming report date and timing, consensus EPS and revenue estimates with their range, the beat/miss track record, analyst ratings and price targets, and what to watch in the print. Use this skill whenever the user is preparing for an…

himself65/finance-skills · 135 tokens