Skip to content

About

Performance tearsheets for DeepSeek Harness — Sharpe/Sortino/Calmar/drawdown/VaR computed deterministically, zero-dependency SVG reports, assumptions disclosed and sample-size alarms on every output. Implements the core concept of QuantStats (Apache-2.0). Not affiliated.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

dsh-quantstats — performance tearsheets for DeepSeek Harness, honesty included

Sharpe, Sortino, Calmar, drawdown, VaR — computed deterministically from your returns, rendered as a zero-dependency SVG tearsheet, with the assumptions disclosed and the sample-size alarm on. The report that states its own limits.

English | 简体中文

DeepSeek Harness License: MIT QuantStats Apache-2.0

Implements the core concept of QuantStats (7.9k★, by the yfinance author) natively for DSH. Not affiliated. Family: dsh-TradingAgents · dsh-ai-hedge-fund · dsh-Vibe-Trading · dsh-OpenBB · dsh-CCXT · dsh-nautilus_trader · dsh-hummingbot · dsh-jesse.

Where upstream quantstats fits (a complement, not a competitor)

Upstream quantstats (7.9k★, by the yfinance author) is a completed-state Python library for notebook quants: ~60 metrics, 20 plots, HTML tearsheets, a heavy stack (pandas/scipy/ matplotlib/seaborn/yfinance). In a pandas notebook, use quantstats. dsh-quantstats is the DSH-session report layer: zero-dependency, every metric rides with its caliber (period-based, disclosed), inline-SVG tearsheets, family-artifact consumption (committee ledgers, engine series).

upstream quantstats (complement) dsh-quantstats
Form Python library for notebooks DSH plugin — agent asks, report out
Deps pandas/scipy/matplotlib/seaborn/yfinance zero (stdlib only)
Calibers period-vs-trade disclosure in README every metric carries its caliber line in-band
Data yfinance downloads your series / family artifacts

Why (QuantStats exists — what does the DSH-native version add?)

QuantStats library dsh-quantstats
Runs where Python lab / notebooks DSH in-session — agents tearsheet any family engine's output
Report matplotlib HTML (CDN deps) zero-dependency inline SVG — offline, shareable
Assumptions stated in docs stated on every report: annualization factor, historical-VaR method
Small samples — sample-size alarm: n<30 flags Sharpe/Sortino as noise

Quick start

git clone https://github.com/vicfei/dsh-quantstats && cd dsh-quantstats
python3 scripts/tearsheet.py --data <klines.json> --save                 # buy & hold
python3 scripts/tearsheet.py --data <klines.json> --strategy sma --fast 20 --slow 60 --save

Real smoke (binance BTC/USDT 365d, 2026-11-17) — the bear-year in one table:

buy & hold SMA 20/60
total −29.9% +1.6%
vol(ann) 44.3% 25.9%
max DD −39.5% −19.3%
Sharpe −0.58 0.19

Assumptions disclosed on both (annualization=365, historical VaR, n=364).

Status & roadmap

v0 tearsheet engine smoke-tested on live data. ROADMAP: M1 rolling metrics + benchmark-relative mode; M2 plugin form; M3 report standard.

License & disclaimer

MIT; concept inspired by Apache-2.0 upstream — no upstream code used. Not investment advice. Past performance ≠ future results.

About

Performance tearsheets for DeepSeek Harness — Sharpe/Sortino/Calmar/drawdown/VaR computed deterministically, zero-dependency SVG reports, assumptions disclosed and sample-size alarms on every output. Implements the core concept of QuantStats (Apache-2.0). Not affiliated.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages