← Search

Strategy Backtest
Trading 🧪 Install ran in our test sandbox · Nov 18, 2026 📌 Pinned version: commit 985ce38
Install test only, on the date shown. This does not guarantee the code is safe.
🔎 Install prompt analysis · 2026-10-13 : runs commands · installs packages · uses API keys or tokens
⚙ Needs: Python 3.10 or newer.

Strategy Backtest

Turn a trading idea into a YAML strategy, backtest it with realistic costs, and read expectancy, drawdown, and trade stats with in-sample and out-of-sample kept apart.

⚠️ Trading warning / Avertissement trading : informational only, not investment advice. A backtest describes one simulated past; it cannot certify that a strategy will make money, and most backtested ideas fail live. Curated by Skill Harbor: the backtesting workflow of the Weaxs stock-analysis-plugin. You express a strategy in a small YAML language (entry and exit conditions over indicators such as RSI, moving averages, MACD, volume ratio, and Bollinger position, combined with AND or OR logic, plus stop-loss, take-profit, position size, and cost settings for slippage, commission, and stamp tax), then run it over a chosen symbol and date range with the repo's tools/backtest.py. The report leads with expectancy alongside win rate and payoff ratio, then max drawdown, losing streaks, trade count, and average holding period, with the actual cost assumptions printed from the run itself. The workflow insists on separate in-sample and out-of-sample windows, treats parameter changes as hypotheses to test rather than improvements to accept, caps optimization at three rounds, and only optimizes when you explicitly ask. From the Weaxs/stock-analysis-plugin repository (MIT). Honest caveats: the source SKILL.md is written in Chinese and the default fee examples are A-share conventions (the stamp tax line simply does not apply on many markets); settlement rules, price limits, and corporate-action adjustments may not be simulated, and the report is supposed to list what was left out; a good-looking curve on one symbol and one period is the weakest evidence there is. Skill Harbor never reviews the code, review it yourself before use.
At a glance
What
Turn a trading idea into a YAML strategy, backtest it with realistic costs, and read expectancy, drawdown, and trade stats with in-sample and out-of-sample kept apart.
Cost
Free
Needs
Python 3.10 or newer. Backtests run the plugin's tools/backtest.py on historical data fetched through its multi-source pipeline (several sources are free; a few such as Tushare, Finnhub or Alpha Vantage need their own free API key or token). No brokerage account is required. Heads-up: the source SKILL.md is written in Chinese, and its default fee examples follow A-share conventions, so set the cost fields for your own market. This is informational only, not investment advice, and installing the skill itself sends nothing anywhere.
Level
Intermediate — Python 3.10 or newer.
Install
Copy the installer prompt below into your Muse — your agent does the rest.

Version:

Quick answer

Strategy Backtest is a free Muse skill turning a trading idea into a YAML strategy backtested with realistic costs. You express a strategy in a small YAML language with entry and exit conditions over RSI and moving averages, then read expectancy, drawdown and trade stats. It is informational only, not investment advice, since a backtest cannot certify future profit.

⌁

Install

Copy the install package below, then paste it into Muse🧪 Install ran in our test sandbox · Nov 18, 2026📌 Pinned version: commit 985ce38

Before you start: tell me in a few lines what this skill does and what installing it involves, and wait for my go-ahead. Prerequisites: Python 3.10 or newer. Backtests run the plugin's tools/backtest.py on historical data fetched through its multi-source pipeline (several sources are free; a few such as Tushare, Finnhub or Alpha Vantage need their own free API key or token). No brokerage account is required. Heads-up: the source SKILL.md is written in Chinese, and its default fee examples follow A-share conventions, so set the cost fields for your own market. This is informational only, not investment advice, and installing the skill itself sends nothing anywhere. Install "Strategy Backtest" for me. It writes strategy YAML for the plugin's backtest engine, runs it over separate in-sample and out-of-sample windows, and reads the results honestly: expectancy and max drawdown per window, with warnings when the data actually fetched differs from the period requested. Source: https://raw.githubusercontent.com/Weaxs/stock-analysis-plugin/985ce3848385e9916698b06201418200c20ae757/skills/strategy-backtest/SKILL.md (install three sibling folders at that commit, side by side: skills/strategy-backtest/ itself, plus skills/bull-trend/ and skills/stock-analysis/, because this file links into both) Pinned version: install the code at commit 985ce3848385e9916698b06201418200c20ae757 exactly (Skill Harbor tested this version). Do not substitute a newer version. If this commit is unreachable, stop and tell me. Updated October 21, 2026: Skill Harbor regenerated this install prompt from the current upstream file. What changed since the version the previous prompt described (commit eb3342f5d694488a55dce12e4d21e36b2f4ea7af): one mandatory rule is added at the top of the file — for batch research, subtask division or report-file delivery, the agent must first read the shared host-workflows reference (../stock-analysis/references/host-workflows.md) and use only the capabilities the current host actually provides. No new install step is needed for it: the stock-analysis folder this prompt already installs side by side contains that reference in its references folder. What did not change: the strategy YAML language and its indicators, the backtest engine, the honesty rules on periods and warnings, what is sent (nothing during installation), and the rule that this is informational only, not investment advice. 1. Download the three folders (skills/strategy-backtest/, skills/bull-trend/, skills/stock-analysis/) at the pinned commit into a temporary folder. 2. Compare the strategy-backtest SKILL.md with the fingerprint from Skill Harbor's review of 2026-10-21: - SKILL.md: SHA-256 2aaa3e1884bfd12dd9a8f021eb4b1d4e99116a8d54a46c4383622a63217fb24a If it does not match, it changed since the review: do not install it yet, tell me what you found and let me decide. 3. Read the strategy-backtest SKILL.md and tell me in plain words: what the skill does when used, which services it connects to, whether it reads or sends any personal information or keys, and anything that seems unusual. Confirm these points from the file: - The cross-folder links are why the three folders install side by side: this file points into bull-trend's references and scripts, and into stock-analysis's short-term trading framework. - The new shared reference: for batch research, subtask division or report-file delivery, the file now requires reading stock-analysis's references/host-workflows.md first and using only the capabilities the current host actually provides; that file is part of the stock-analysis folder installed in step 4. - The `not_validated` status is stated, never softened: no temperature-based entry rule gets presented as a recommended strategy. - Backtest honesty: `period` is the data actually fetched, `requested_period` is what I asked for, and `warnings` flag any gap; annual returns are computed on the actual period. - How prices are fetched: through the plugin's multi-source pipeline (the repo's tools/); a source that needs my own free key or token keeps it in environment variables or the plugin's config, never printed. - The bundled scripts are thin wrappers: this skill's gather script calls the plugin repo's tools/backtest.py, located from the repository layout, so backtests only run inside a clone of the repo, not from the copied skill folders. Nothing is sent anywhere during installation itself. 4. When I say yes, copy the three folders' contents into my skills folder, in folders named "strategy-backtest", "bull-trend" and "stock-analysis", side by side so the relative links keep working. 5. Check the copies with no network calls (valid frontmatter, files in place) and tell me what was installed, where, and what is left for me to do (for example: keep a clone of the plugin repo at the pinned commit for actually running backtests, since the scripts locate the repo's tools/ folder from the repository layout, and keep its strategies/examples templates as starting points; set the fee fields for my market, and add free API keys only if I use the sources that need them). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Rules: only touch the temporary folder and the install targets. If something seems off, stop and ask me. Never print or paste a secret value.

🔒 Security, provenance and what this touches
🧭 What this touches
  • It can run commands on your Muse’s computer.
  • It can download and install software packages.
  • It works with an API key or a token that you provide.
Install prompt analysis · 2026-10-13
🔒 Security and provenance
📌 Pinned version: commit 985ce38 · 2026-10-21
🧪 Install ran in our test sandbox · Nov 18, 2026
👁 Observed during the install test · Nov 18, 2026 : no network contact
🔎 Install prompt analysis · 2026-10-13 : runs commands · installs packages · uses API keys or tokens
What the scan found — excerpts from the install prompt
  • runs commands — Then, before anything else, run: git checkout e59a6873c289689fdcfc2bd9b11353b1b6b2ed84 (the pinned, tested com · Ensuite, avant toute autre chose, exécute : git checkout e59a6873c289689fdcfc2bd9b11353b1b6b2ed84 (le commit é
  • installs packages — Prerequisites: clone the repo once (git clone https://github.com/Weaxs/stock-analysis-plugin) and keep the fol · Prérequis : clonez le dépôt une fois (git clone https://github.com/Weaxs/stock-analysis-plugin) et gardez le d
  • uses API keys or tokens — Prerequisites: clone the repo once (git clone https://github.com/Weaxs/stock-analysis-plugin) and keep the fol · Prérequis : clonez le dépôt une fois (git clone https://github.com/Weaxs/stock-analysis-plugin) et gardez le d
🔎 Last checked · Nov 23, 2026 : no change detected in the files linked by this install prompt
Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify
Wanna be extra careful?

The install prompt below already includes the vetting steps: your agent follows the community checklist before installing anything with executable code. Want more?

How to check a skill before installing →

✓

Verification certificate

Dated facts about what was checked for this listing, and how. This is not a safety certification.

Pinned version
985ce38 · 2026-10-21
Sandbox install test
Install ran in our test sandbox · Nov 18, 2026
Creator identity
Not verified
Fingerprint watch
Last checked · Nov 23, 2026 : no change detected in the files linked by this install prompt
Install prompt analysis
2026-10-13 : runs commands · installs packages · uses API keys or tokens

Skill Harbor never reviews the code of a listed skill. These are dated facts about the install prompt and our install test, not a safety certification. Review a skill yourself before you install it. How we verify

?

Questions

How do I install a skill?

Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the skill up for you — no manual configuration.

Where does my money go?

Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.

What does the ✓ next to a creator’s name mean?

It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a skill before installing it.