Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
/
Sign in
Sign up
Appearance settings
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
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.5k
Star
9k
Code
Issues
46
Pull requests
38
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
38
(38)
Closed
150
(150)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
More items
Comfortable display density
Compact display density
BUG: Fix Backtest() with a non-datetime index on pandas 3
#1410
·
David-Wu1119
opened
Sep 23, 2026
·
·
1
doc: Recommend uv and venv over conda in developer environment setupfeat: Add '# Long Trades' and '# Short Trades' breakdown to stats output
#1409
·
dwaddle
opened
Sep 11, 2026
·
·
Enhancement #1300: Allow spread to be a dynamic sequence per candle
#1408
·
dwaddle
opened
Sep 9, 2026
·
·
1
Fix #1335: Apply half-spread and commission symmetrically on open and close
#1407
·
dwaddle
opened
Sep 9, 2026
·
·
1
Add
warmup=False
option to
Strategy.I()
to exclude an indicator from forced backtest warm-up (#1339)
#1404
·
Harsh4r0ra
opened
Sep 2, 2026
·
·
1
ENH: Add exit_tag support for trades and positions to indicate closur…
#1403
·
Harsh4r0ra
opened
Sep 2, 2026
·
·
BUG: Infer units for numeric timestamp indices
#1402
·
Hei-MaoM
opened
Sep 1, 2026
·
·
DOC: Explain backtest statistics formulas
#1401
·
Stamina9
opened
Aug 31, 2026
·
·
1
BUG: Fully clean up broker state after bankruptcy
#1400
·
Stamina9
opened
Aug 30, 2026
·
·
ENH: Report long and short trade counts
#1399
·
Stamina9
opened
Aug 30, 2026
·
·
1
ENH: Return stats from MultiBacktest.optimize
#1398
·
Stamina9
opened
Aug 30, 2026
·
·
1
ENH: Record reasons for closing trades
#1397
·
Stamina9
opened
Aug 30, 2026
·
·
1
ENH: Support per-bar spread from data column
#1396
·
Stamina9
opened
Aug 30, 2026
·
·
1
ENH: Report long and short trade counts in stats
#1395
·
Stamina9
opened
Aug 30, 2026
·
·
1
ENH: Expose long and short trade counts
#1394
·
AtomicGlance
opened
Aug 29, 2026
·
·
1
1
ENH: Support time-varying bid-ask spreads
#1393
·
AtomicGlance
opened
Aug 29, 2026
·
·
1
1
Clear stale orders on bankruptcy
#1392
·
OllyNewport
opened
Aug 19, 2026
·
·
DOC: Clarify Strategy.sell bullet and document Trade.close() quantization
#1391
·
OllyNewport
opened
Aug 19, 2026
·
·
BUG: Resample multi-series indicator inputs consistently
#1390
·
Jaco-Ren
opened
Aug 12, 2026
·
·
1
Implement enhancements #3 and #4 from issue #1318
#1389
·
OllyNewport
opened
Aug 10, 2026
·
·
ENH: lib: Add deflated_sharpe_ratio() to judge optimize() results
#1388
·
ipezygj
opened
Aug 7, 2026
·
·
3
ENH: Add exit tags via Trade.close(tag=) / Position.close(tag=)
#1386
·
azerv1
opened
Aug 5, 2026
·
·
1
BUG: Isolate stats repr from global float formatter
#1384
·
sanjey99
opened
Aug 4, 2026
·
·
1
2
Include final-bar open trades in results
#1382
·
bm1016bm-svg
opened
Jul 30, 2026
·
·
1
Preserve source timezone in chart timestamps
#1381
·
Whning0513
opened
Jul 29, 2026
·
·
1
1
Previous
1
2
Next
You can’t perform that action at this time.