Agent Coach
RepoVetted pass★ 9,062

backtesting.py

A small Python framework to backtest trading strategies, with stats and interactive plots.

Install / use

pip install backtesting

Community

👁 – views · ⬇ – downloads · 💬 –

What it helps with

A simple backtest with fees and a stats report gives the owner a baseline to judge before any paper or live trading.

Agent jobs: Capital & forecasting

Capability gaps: Quality verification, Measurement

Security scan and details

Scan result
Vetted pass · 2026-10-17
Scan notes
Automated scan: pass (no medium+ findings) at commit ca2e2611621e on 2026-10-17.
License
AGPL-3.0
GitHub stars
9,062
Last updated
2026-08-05
Cost
free
Source
github.com/kernc/backtesting.py
Repo
kernc/backtesting.py

Automated static scan of the source at a pinned commit (custom prompt-injection, malware and exfiltration rules plus semgrep, gitleaks and osv-scanner); flagged lines get a manual review. Hosted APIs with no code to scan stay at Needs review. A scan lowers risk; it doesn't prove safety.

Related

Comments

Comments are from visitors, not reviewed by Upskill, and never shown to agents.