Skip to main content

QSX Strategy Score

tests License: MIT Python

Free open-source backtest screener for trading strategies.

Upload a return curve, equity curve, or trade log. In a few minutes, see whether the path looks more like alpha, market beta, luck, or a backtest that needs more evidence — without creating an account.

Try the free strategy scorecard

Other ways to use it: install the free Chrome extension · run it locally · free TradingView indicator · Overlay Preview · full audit report · security

中文 30 秒入口: 免费网页评分与内置样例。账户收益/净值可做历史路径初筛;平仓交易日志只给描述统计,不计算账户分数或 Overlay。无需注册。也可按下方步骤本地安装,用 --lang zh 输出中文;CLI 支持六种语言。

Scoring thresholds and hosted components may still change before v1.0.

Upload actual account returns or equity to get a QSX Score from 0 to 100 and historical screening checks. Closed-trade logs provide descriptive trade statistics only; account performance, risk, ratings and Overlay are N/A.

  • QSX Score and grade
  • Overfit and too-good-to-be-true checks
  • Buy-and-hold comparison
  • Random timing test
  • Monte Carlo stress test
  • Shareable PNG scorecard
  • Localized CLI, PNG scorecard, and web output (en, zh, ja, ko, es, pt-BR)
  • Free Chrome extension
  • Optional QSX Overlay Preview

Many strategies with a positive edge still fail because of poor risk sizing and exposure control. The optional Overlay Preview lets you test whether dynamic risk sizing may improve your own strategy.

Free Chrome Extension

QSX Strategy Score is now available on the Chrome Web Store: install the free Chrome extension.

The extension is completely free. It lets you upload strategy exports, return curves, equity curves, or closed-trade logs directly from Chrome without setting up Python. Account paths receive screening checks; closed-trade logs receive descriptive statistics.

Free TradingView Indicator

We also publish a free open-source TradingView script: QSX Crypto Bottom & Top Risk Radar.

It is a crypto market-context radar, not a trading bot or position-sizing engine. The script combines BTC perpetual long/short account ratio percentiles with trend, volatility, and trend-strength filters to mark sparse states such as BOTTOM, CALM, TOP RISK, and HIGH RISK.

If it helps your chart workflow, open it on TradingView, add it to a chart, and consider liking or favoriting it so more traders can find the free indicator.

QSX Strategy Score sample outputs

Positioning

QSX Strategy Score is not a replacement for QuantStats, pyfolio, or a full research notebook.

Use QuantStats when you want a detailed performance tear sheet. Use QSX Strategy Score when you want a fast screening answer:

Is this backtest worth deeper due diligence, or does it look fragile, lucky, overfit, or mostly beta?

The output is intentionally compact: one path-quality score, evidence status, the main failure modes, a shareable scorecard, and an optional QSX Overlay Preview.

How grades work

Version 0.4.0 narrows timing qualification to supported daily account-path comparisons. Unsupported inputs show a reason and N/A. The displayed path-risk index excludes search risk; omitted search-trial counts are unknown. See the input and comparison contract.

The 0-100 number describes the uploaded path. It does not prove real alpha or production readiness.

  • PROVISIONAL means the path may look promising, but benchmark, random-control, sample, or track-record evidence is still incomplete.
  • GOLD, SILVER, and BRONZE require comparable benchmark evidence and passed available free checks.
  • NEEDS WORK and FLAGGED indicate a material weakness or a backtest that should be verified before trusting its score.

Read the calibration policy and release governance for the exact boundaries and version policy.

Scorecards link to a full audit-report workflow at quantscopex.com/report for users who want deeper due diligence after screening.

Overlay Preview

QSX Strategy Score can preview an external risk-sizing layer:

QSX Crypto Universal Position Engine 1.0

It is not an entry signal, exit signal, or coin selector. It is designed as an overlay that sits outside your original strategy:

original strategy returns x QSX dynamic exposure = overlay-adjusted curve

Inspect the current published Controller evidence and its model version, data cutoff, costs and limitations. Historical results do not guarantee improvement on your strategy.

Overlay Preview does not accept trade logs. Upload actual account equity or daily returns; trade endpoints cannot identify the intervening account drawdown.

Install and Run

The current core release is v0.4.0. The GitHub tag installation below is available independently of package-registry availability. qsx-score-free is the distribution name; GitHub release artifacts and PyPI publication are separate. Python 3.9–3.12 and Git are required for this source-install path.

git clone --branch v0.4.0 --depth 1 https://github.com/jianweiweng05/qsx-strategy-score.git
cd qsx-strategy-score
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[app,excel]"
qsx-score --version

On Windows, activate with .venv\Scripts\activate instead. For CLI-only use, python -m pip install -e . installs the core dependencies without Streamlit or Excel support.

Run a bundled example without a market-data download:

qsx-score examples/sample_returns.csv --no-auto-asset --lang en

Missing benchmark evidence keeps the result provisional; it is not a failed installation. For a BTC comparison, download benchmark data first (requires access to the public data source), then score:

python -m qsx_strategy_score.assets --keys BTC
qsx-score examples/strategy_alpha.csv --asset BTC --lang en

Alternatively use --benchmark your_prices.csv with actual overlapping date,close prices. Local scoring itself does not upload strategy data. The optional data refresh and hosted Overlay Preview require network access.

Supported languages:

qsx-score examples/sample_returns.csv --no-auto-asset --lang zh
qsx-score examples/sample_returns.csv --no-auto-asset --lang ja
qsx-score examples/sample_returns.csv --no-auto-asset --lang ko
qsx-score examples/sample_returns.csv --no-auto-asset --lang es
qsx-score examples/sample_returns.csv --no-auto-asset --lang pt-BR

Export a shareable PNG, a three-page free diagnostic PDF, and JSON:

qsx-score examples/sample_returns.csv --no-auto-asset --out card.png --pdf diagnostic.pdf --json report.json

Run the web app:

streamlit run app/streamlit_app.py

Read the result

Read the evidence status and reason beside the path score. PROVISIONAL or N/A asks for the missing evidence or explains an unsupported comparison; it is not an instruction to buy a report. A material failed check remains visible. A passing daily proxy cannot certify real alpha, and calibration remains VALIDATED=False.

Input Formats

Returns:

date,return
2021-01-01,0.012
2021-01-02,-0.004

Equity curve:

date,equity
2021-01-01,10000
2021-01-02,10120

Trade log:

entry_time,exit_time,pnl_pct,side,symbol
2021-01-01,2021-02-01,3.2,LONG,DOGE

CSV, TSV and TXT are supported; Excel needs the excel extra. TradingView-style exports must satisfy the same input contract. Supported closed-trade logs require every entry/exit timestamp and one symbol, with no overlap; they return descriptive statistics only. Use real account returns or NAV for account performance and Overlay. See the exact input and comparison contract.

Docs

Choose the next step

Your task Free first step Optional paid product
Investigate your own backtest Strategy Score Pro Audit, $99 once for deeper diagnosis of the submitted history and whether to enter the next validation stage
Manage existing crypto exposure Overlay compatibility Preview, using actual account returns/NAV Risk Controller, $79/month or $799/year, for current model exposure, risk state and change alerts
Study a BTC/ETH model portfolio Public evidence and delivery sample BTC/ETH research, $149/month, including Controller access

Choose by need; these are not sequential upgrades. Preview is a free, optional compatibility check, not a subscription benefit. BTC/ETH final model weights already include their own controls: do not multiply them by the Controller again. Pro Audit uses sanitized performance history and stated assumptions, not your strategy source code; it does not approve live trading or provide a portfolio allocation.

Important Limitations

Free = screening, not proof. QSX Strategy Score is computed from the uploaded performance path; it does not inspect strategy code, raw market data, execution simulation, exchange fills, or the full parameter-search process.

It cannot prove the absence of code-level look-ahead, survivorship bias, unrealistic fills or slippage, hidden leverage, capacity constraints, manual selection, or train/validation contamination.

A high score is not investment advice. A flagged score does not prove a strategy is fake; it means the backtest method should be checked before trusting the result.

License

MIT.

Metadata

Release files for qsx-score-free 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qsx-score-free 0.4.0
File Size Uploaded Provenance Actions
qsx_score_free-0.4.0.tar.gz 132.8 kB With provenance Details for qsx_score_free-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qsx-score-free 0.4.0
File Interpreter ABI Platform Actions
qsx_score_free-0.4.0-py3-none-any.whl Python 3 none any Details for qsx_score_free-0.4.0-py3-none-any.whl

Total release size: 259.1 kB

Release files / qsx_score_free-0.4.0.tar.gz

Download URL qsx_score_free-0.4.0.tar.gz
Size 132.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f3a78ffa0b204965cea3ca0787e3883878f1a20ae79aa1ebbedfdebe4256a409
BLAKE2b-256 checksum
How to use checksums
61f5be449540785d57936e429d767c7a24452e1640b8770db8cee6b1385e7e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / qsx_score_free-0.4.0-py3-none-any.whl

Download URL qsx_score_free-0.4.0-py3-none-any.whl
Size 126.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9aefee782114cdaa413a866ef581739e4be0c73e613074992b82b7d66f0c0b8
BLAKE2b-256 checksum
How to use checksums
dba0b37da464e7846f4813e2e8f2b795db92dbd3becb90a4e40b9791486bf769
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for qsx-score-free 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qsx_score_free-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page