jianweiweng05/qsx-strategy-score
حول
أداة مجانية ومفتوحة المصدر لفحص نتائج الاختبار التاريخي. تقارن العوائد والتراجعات باستراتيجية الشراء والاحتفاظ، وتتيح مراجعة الأدلة المتعلقة بتوقيت التداول، وقياس مدى تركز الصفقات الرابحة استنادًا إلى ملف CSV.
الأعمال والماليةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- -١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلQSX Strategy Score
Screen a trading backtest for free. See how much it fell from its peak, how its return and drawdown compare with holding the asset, and which checks your data supports.
Open the free web example · 打开中文免费样例 · Run locally / 本地运行
No account or installation is required on the website. Local scoring keeps strategy files on your computer.
BTC MA200 vs holding BTC · 均线策略与持有的实测对照
Lower return and smaller drawdown than holding. Fixed exposure matched or beat the strategy on Calmar. Random timing was not tested.
收益低于持有,回撤更小。策略的收益回撤比未超过固定敞口组合。随机择时未检验。
| Historical comparison / 历史对照 | Strategy / 策略 | Holding BTC / 持有 BTC |
|---|---|---|
| Annualized return / 年化收益 | 23.47% | 34.74% |
| Maximum drawdown / 最大回撤 | -64.09% | -83.19% |
Strategy Calmar / 策略收益回撤比 0.366 · fixed-exposure Calmar / 固定敞口组合 0.412.
Historical path score / 历史路径分 79.6/100 · PROVISIONAL · v0.4.2.
2017-08-17 – 2026-06-26 · 3,236 daily returns.
The public BTC MA200 example uses daily strategy returns and a frozen BTC/USDT spot closing-price series from Binance. The annualized returns and drawdowns above refer to the common comparison window. Search trials are unknown. Strategy CSV · Benchmark CSV · File checksums
Run locally
With Python 3.9–3.12, run the following in a terminal on macOS or Linux. The first two commands create and activate a local environment.
python3 -m venv .qsx-venv
source .qsx-venv/bin/activate
python -m pip install qsx-score-free==0.4.2
qsx-score --demo --lang zh
On Windows, run py -m venv .qsx-venv in Command Prompt, then .qsx-venv\Scripts\activate.bat. Follow with the same install and demo commands.
For English, use qsx-score --demo. Other supported languages are ja, ko, es and pt-BR. 本地样例已经包含策略收益和 BTC 对照价格,安装后无须下载数据或克隆仓库。
For your own file, pass daily returns or account equity. To compare against holding, supply an overlapping price file with date,close.
qsx-score my_strategy.csv --benchmark my_prices.csv --json result.json
For PNG and PDF exports, install the drawing extra. JSON is included in the basic installation.
python -m pip install "qsx-score-free[card]==0.4.2"
qsx-score --demo --lang zh --out card.png --pdf report.pdf
Excel input requires the excel extra. To run the optional Streamlit app, clone the repository, install python -m pip install -e ".[app,excel]" and run streamlit run app/streamlit_app.py. The tagged source archive is an alternative installation source.
Which files work?
| Input | What you get |
|---|---|
Account returns with date,return, or equity with date,equity |
A historical path score, drawdown, evidence checks and available benchmark comparisons. |
| Closed trades with entry time, exit time and trade return | Win rate, trade-return statistics and concentration of the best trades. One symbol and nonoverlapping positions are required. Account drawdown needs account-level observations. |
CSV, TSV, TXT and Excel are supported. Use 0.008 for a decimal return of 0.8%, write 0.8%, or name the column return_pct and enter 0.8. Flat periods may be written as 0 or 0%. Both 2023-01-01 and 20230101 are calendar dates.
Reading the score
The 0–100 score summarizes the submitted history. The grade and evidence status show whether the applicable checks passed. A provisional result identifies missing evidence. Read the hold comparison separately from the random-timing check. Maximum drawdown describes the observed peak-to-trough loss. Trade concentration uses the sum of positive per-trade percentage returns.
A return history alone cannot verify execution costs, code-level look-ahead or future performance. External calibration is still pending. Input and comparison contract · Calibration policy · More reproducible examples
Other tools and documentation
- Chrome extension for hosted scoring, and the data privacy policy.
- Free TradingView market indicator, optional risk overlay preview and full strategy audit.
- Scoring model, release history and security policy.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…