mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 13:33:11 +08:00
* feat: add Kelly Criterion and Sharpe Ratio to financial algorithms * fix: replace ambiguous unicode sigma and shorten long docstring line * fix: resolve pre-existing ruff errors in hashing, jump_search, and lda * Apply batched suggestions from code review Co-authored-by: Christian Clauss <cclauss@me.com> * updating DIRECTORY.md --------- Co-authored-by: Samrat Chowdhury <sam@rvmediacorp.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: cclauss <cclauss@users.noreply.github.com>
Interest
- Compound Interest: "Compound interest is calculated by multiplying the initial principal amount by one plus the annual interest rate raised to the number of compound periods minus one." Compound Interest
- Simple Interest: "Simple interest paid or received over a certain period is a fixed percentage of the principal amount that was borrowed or lent. " Simple Interest