Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
kernc
/
backtesting.py
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
6.4k
Code
Issues
39
Pull requests
9
Discussions
Actions
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Mar 30, 2025
MNT: Update CHANGELOG for v0.6.4
kernc
committed
eebdc3b
Copy full SHA for eebdc3b
BUG: Restore original scale in FractionalBacktest plot (#1247)
Show description for 4c60488
arkershaw
and
kernc
authored
4c60488
Copy full SHA for 4c60488
TST: Loosen test_optimize_speed test on MS Windows
kernc
committed
ce74a34
Copy full SHA for ce74a34
CI/BUG: Further quiet tqdm
kernc
committed
7761315
Copy full SHA for 7761315
TST: Expand MultiBacktest parallelism to any mp.context on platform
kernc
committed
50efc51
Copy full SHA for 50efc51
BUG: Fix optimization hanging on MS Windows
Show description for 209ce63
kernc
committed
209ce63
Copy full SHA for 209ce63
MNT: Fix/ignore issues with flake8 7.2.0
kernc
committed
68f6478
Copy full SHA for 68f6478
BUG: Fix "'CAGR [%]' must match a key in pd.Series result of bt.run()"
kernc
committed
e177a8c
Copy full SHA for e177a8c
Commits on Mar 26, 2025
MNT: Remove title placeholder from issue template
kernc
committed
65d61d6
Copy full SHA for 65d61d6
BUG: Fix grid optimization with tz-aware datetime index
Show description for 48b0d58
kernc
committed
48b0d58
Copy full SHA for 48b0d58
CI: Quiet tqdm
kernc
committed
89eee8e
Copy full SHA for 89eee8e
REF: Plot: fig.legend.background_fill_alpha = .9 (was .95)
kernc
committed
4a0f2f4
Copy full SHA for 4a0f2f4
BUG: Fix RuntimeWarning on dummy compute_stats call (#1253)
Show description for 84e685a
jensnesten
authored
84e685a
Copy full SHA for 84e685a
Commits on Mar 11, 2025
MNT: Update CHANGELOG for v0.6.3
kernc
committed
b1a869c
Copy full SHA for b1a869c
BUG: Plot: Increase subplots heights after 3b74729
Show description for 2c6fcad
kernc
committed
2c6fcad
Copy full SHA for 2c6fcad
MNT: Issue templates should not auto-add labels
kernc
committed
fa3ea11
Copy full SHA for fa3ea11
ENH: Add Alpha & Beta stats (#1221)
Show description for 70a2c33
jensnesten
authored
70a2c33
Copy full SHA for 70a2c33
BUG: Fix stop-market and TP hit within the same bar
Show description for 5e68bba
kernc
committed
5e68bba
Copy full SHA for 5e68bba
TST: Introduce a simple base Strategy with empty init
kernc
committed
5e5dfdf
Copy full SHA for 5e5dfdf
BUG: functools.partial objects do not always have a __module__ attr in Python 3.9 (#1233)
Limfocit
authored
bf28ddd
Copy full SHA for bf28ddd
REF: Rename param `lib.FractionalBacktest(fractional_unit=)`
Show description for 5928524
kernc
committed
5928524
Copy full SHA for 5928524
BUG: Single legend item for indicators with singular/default names
Show description for d673d0a
kernc
committed
d673d0a
Copy full SHA for d673d0a
DOC: Revise warning: Most Jupyter client IDEs now support JavaScript
Show description for 3938cf7
kernc
committed
3938cf7
Copy full SHA for 3938cf7
DOC: Remove TODO item obsoleted in 7eeea52
kernc
committed
86f5f39
Copy full SHA for 86f5f39
ENH: Reduce height of indicator charts, introduce an overridable global
kernc
committed
3b74729
Copy full SHA for 3b74729
DOC: Move Backtest.__init__ docs (pdoc3) out of lib.FractionalBacktest
kernc
committed
7431063
Copy full SHA for 7431063
DOC: Readme: add SLOC count badge
kernc
committed
233cd03
Copy full SHA for 233cd03
DOC: Amend "sell() doesn't close buy()" warning with note re `exclusive_orders=True`
kernc
committed
acef307
Copy full SHA for acef307
ENH: Plot: add xwheel_pan tool, conditioned on activation for now
kernc
committed
b35bced
Copy full SHA for b35bced
ENH: Plot: Make "OHLC" a togglable legend item
kernc
committed
886fc1d
Copy full SHA for 886fc1d
REF: Plot: Set `fig.yaxis.ticker.desired_num_ticks=3` for indicator subplots
kernc
committed
a78edf5
Copy full SHA for a78edf5
REF: Plot: Simplify PL section, circle markers
kernc
committed
3b9a294
Copy full SHA for 3b9a294
BUG: Only plot trades when some trades are present
Show description for 533c711
kernc
committed
533c711
Copy full SHA for 533c711
BUG: Fix SL always executes before TP when hit in the same bar, as documented
Show description for 31cff13
kernc
committed
31cff13
Copy full SHA for 31cff13
BUG: Fix Position.pl sometimes not matching Position.pl_pct in sign
Show description for e1a86ef
kernc
committed
e1a86ef
Copy full SHA for e1a86ef
Pagination
Previous
Next
You can’t perform that action at this time.