René's URL Explorer Experiment


Title: feat: Add Kelly Criterion and Sharpe Ratio financial algorithms by realsamrat · Pull Request #14346 · TheAlgorithms/Python · GitHub

Open Graph Title: feat: Add Kelly Criterion and Sharpe Ratio financial algorithms by realsamrat · Pull Request #14346 · TheAlgorithms/Python

X Title: feat: Add Kelly Criterion and Sharpe Ratio financial algorithms by realsamrat · Pull Request #14346 · TheAlgorithms/Python

Description: All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.

Open Graph Description: Description This PR adds two new financial algorithm implementations to the financial/ directory: 1. Kelly Criterion (kelly_criterion.py) The Kelly Criterion is a formula for optimal position sizin...

X Description: Description This PR adds two new financial algorithm implementations to the financial/ directory: 1. Kelly Criterion (kelly_criterion.py) The Kelly Criterion is a formula for optimal position sizin...

Opengraph URL: https://github.com/TheAlgorithms/Python/pull/14346

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6c7f7171-20dc-85b6-b330-163da31616d5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF84:2668B6:ACB1C7:EC190E:6AFBDC83
html-safe-nonce4a56cb11e61f7606e8daa52730f7ea002721545caa26706f2543e9245173b2c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjg0OjI2NjhCNjpBQ0IxQzc6RUMxOTBFOjZBRkJEQzgzIiwidmlzaXRvcl9pZCI6IjIyNjAyNjc0ODg1MDcyMzk3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacee778cac198bd5ff7bc5ee37d2fcbd7229972d8bdbbd4e932d5672bbdd1df384
hovercard-subject-tagpull_request:3367534307
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/14346/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9d43d78f69825dc5a3fc089de4a0ad3ad30827282e530e5ff7df375dd8644665/TheAlgorithms/Python/pull/14346
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9d43d78f69825dc5a3fc089de4a0ad3ad30827282e530e5ff7df375dd8644665/TheAlgorithms/Python/pull/14346
og:image:altDescription This PR adds two new financial algorithm implementations to the financial/ directory: 1. Kelly Criterion (kelly_criterion.py) The Kelly Criterion is a formula for optimal position sizin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerealsamrat
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-cache
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/14346#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14346
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14346
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FPython
Reloadhttps://github.com/TheAlgorithms/Python/pull/14346
Reloadhttps://github.com/TheAlgorithms/Python/pull/14346
Reloadhttps://github.com/TheAlgorithms/Python/pull/14346
TheAlgorithmshttps://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Codehttps://github.com/TheAlgorithms/Python
Issues14 (14)https://github.com/TheAlgorithms/Python/issues
Pull requests105 (105)https://github.com/TheAlgorithms/Python/pulls
Discussionshttps://github.com/TheAlgorithms/Python/discussions
Actionshttps://github.com/TheAlgorithms/Python/actions
Projectshttps://github.com/TheAlgorithms/Python/projects
Wikihttps://github.com/TheAlgorithms/Python/wiki
Security and qualityhttps://github.com/TheAlgorithms/Python/security
Insightshttps://github.com/TheAlgorithms/Python/pulse
https://github.com/TheAlgorithms/Python
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
realsamrat:feature/kelly-criterion-sharpe-ratiohttps://github.com/realsamrat/Python/tree/feature/kelly-criterion-sharpe-ratio
Conversationhttps://github.com/TheAlgorithms/Python/pull/14346
Commits6 (6)https://github.com/TheAlgorithms/Python/pull/14346/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/14346/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/14346/files
feat: Add Kelly Criterion and Sharpe Ratio financial algorithmshttps://github.com/TheAlgorithms/Python/pull/14346#top
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
realsamrat:feature/kelly-criterion-sharpe-ratiohttps://github.com/realsamrat/Python/tree/feature/kelly-criterion-sharpe-ratio
https://github.com/realsamrat
realsamrathttps://github.com/realsamrat
Mar 7, 2026https://github.com/TheAlgorithms/Python/pull/14346#issue-4038502679
https://en.wikipedia.org/wiki/Kelly_criterionhttps://en.wikipedia.org/wiki/Kelly_criterion
https://en.wikipedia.org/wiki/Sharpe_ratiohttps://en.wikipedia.org/wiki/Sharpe_ratio
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
March 7, 2026 19:04https://github.com/TheAlgorithms/Python/pull/14346#commits-pushed-9fecd2d
feat: add Kelly Criterion and Sharpe Ratio to financial algorithmshttps://github.com/TheAlgorithms/Python/pull/14346/commits/9fecd2d1ffae0a36aba7fa5781f3e3c22a268f18
9fecd2dhttps://github.com/TheAlgorithms/Python/pull/14346/commits/9fecd2d1ffae0a36aba7fa5781f3e3c22a268f18
fix: replace ambiguous unicode sigma and shorten long docstring linehttps://github.com/TheAlgorithms/Python/pull/14346/commits/a78b2614a723e5917411afb580bd34c04a063899
a78b261https://github.com/TheAlgorithms/Python/pull/14346/commits/a78b2614a723e5917411afb580bd34c04a063899
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Mar 7, 2026https://github.com/TheAlgorithms/Python/pull/14346#event-23358365896
https://github.com/realsamrat
realsamrathttps://github.com/realsamrat
force-pushedhttps://github.com/TheAlgorithms/Python/compare/f6f082f4b6ebec5e80b8ff048c5eef2d1f52bdc9..a78b2614a723e5917411afb580bd34c04a063899
f6f082fhttps://github.com/TheAlgorithms/Python/commit/f6f082f4b6ebec5e80b8ff048c5eef2d1f52bdc9
a78b261https://github.com/TheAlgorithms/Python/commit/a78b2614a723e5917411afb580bd34c04a063899
Compare https://github.com/TheAlgorithms/Python/compare/f6f082f4b6ebec5e80b8ff048c5eef2d1f52bdc9..a78b2614a723e5917411afb580bd34c04a063899
March 7, 2026 13:44https://github.com/TheAlgorithms/Python/pull/14346#event-23358404929
fix: resolve pre-existing ruff errors in hashing, jump_search, and ldahttps://github.com/TheAlgorithms/Python/pull/14346/commits/18fdba855c143cf0f5f251f46cf274346ed4cab5
18fdba8https://github.com/TheAlgorithms/Python/pull/14346/commits/18fdba855c143cf0f5f251f46cf274346ed4cab5
https://github.com/apps/algorithms-keeper
algorithms-keeperhttps://github.com/apps/algorithms-keeper
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Mar 7, 2026https://github.com/TheAlgorithms/Python/pull/14346#event-23358467624
https://github.com/mindaugl
mindauglhttps://github.com/mindaugl
Mar 7, 2026 https://github.com/TheAlgorithms/Python/pull/14346#pullrequestreview-3909655630
View reviewed changes https://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5
https://github.com/cclauss
cclausshttps://github.com/cclauss
git merge conflict https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22git%20merge%20conflict%22
Sep 4, 2026https://github.com/TheAlgorithms/Python/pull/14346#event-30547185210
https://github.com/cclauss
cclausshttps://github.com/cclauss
Sep 5, 2026 https://github.com/TheAlgorithms/Python/pull/14346#pullrequestreview-5123208323
View reviewed changes https://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5
data_structures/hashing/hash_table_with_linked_list.pyhttps://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5#diff-d8ea4d17fe868f1c7a27b55ed28b246f8323b5a352a800f4c8731123cc2127fc
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
machine_learning/linear_discriminant_analysis.pyhttps://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5#diff-84dca787c7680f9bf1fd601d91e151e43c44b398973c3ef1b564266895e3527f
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
searches/jump_search.pyhttps://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5#diff-30abeaca7c598c4733b70d91a85f90f49354b5f6a7aceb1d211c7a838aef7545
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
cclausshttps://github.com/cclauss
September 6, 2026 00:11https://github.com/TheAlgorithms/Python/pull/14346#commits-pushed-45dfaf2
https://github.com/cclauss
Apply batched suggestions from code reviewhttps://github.com/TheAlgorithms/Python/pull/14346/commits/45dfaf2a3fb456d21d10e76ae877ede87c0b7234
45dfaf2https://github.com/TheAlgorithms/Python/pull/14346/commits/45dfaf2a3fb456d21d10e76ae877ede87c0b7234
https://github.com/cclauss
Merge branch 'master' into feature/kelly-criterion-sharpe-ratiohttps://github.com/TheAlgorithms/Python/pull/14346/commits/db1e765e67c01d8005f0a4f4181e4c4177b98bf4
db1e765https://github.com/TheAlgorithms/Python/pull/14346/commits/db1e765e67c01d8005f0a4f4181e4c4177b98bf4
https://github.com/cclauss
updating DIRECTORY.mdhttps://github.com/TheAlgorithms/Python/pull/14346/commits/66b2986397c357de1eef575499c16da449e6eb06
66b2986https://github.com/TheAlgorithms/Python/pull/14346/commits/66b2986397c357de1eef575499c16da449e6eb06
https://github.com/cclauss
cclausshttps://github.com/cclauss
e5cca54https://github.com/TheAlgorithms/Python/commit/e5cca54a777ff4bbc4093aca9f36f7319ee8cf9d
Sep 5, 2026https://github.com/TheAlgorithms/Python/pull/14346#event-30622466480
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
https://github.com/priya-sundaram-dev
priya-sundaram-devhttps://github.com/priya-sundaram-dev
Sep 6, 2026 https://github.com/TheAlgorithms/Python/pull/14346#ref-pullrequest-5363170281
docs(hacktober): reconcile the 2026 PR tracker with the live queue (84 resolved) #15200 https://github.com/TheAlgorithms/Python/pull/15200
https://github.co/hiddenchars
https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F14346
https://github.com/cclauss
cclauss https://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5
https://github.com/mindaugl
mindaugl https://github.com/mindaugl
https://github.com/TheAlgorithms/Python/pull/14346/files/18fdba855c143cf0f5f251f46cf274346ed4cab5
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
git merge conflict https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22git%20merge%20conflict%22
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/14346
https://github.com/realsamrat
https://github.com/cclauss
https://github.com/mindaugl
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.