Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Interest Engine to Manage and Apply Interest Rates to Balances #50

Open
jerry-enebeli opened this issue Nov 23, 2024 · 0 comments
Labels
enhancement New feature or request Feature request

Comments

@jerry-enebeli
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Blnk does not currently have a way to work with interest rates and apply them to balances. This makes it challenging to automate processes like accruing interest for credit or debit balances.


Describe the solution you'd like

would like Blnk to include an Interest Engine as part of its ledger. This engine should:

  • Allow developers to define and manage interest rules dynamically, such as interest rate, compounding frequency, and applicable balance types.
  • Support both credit and debit interest.
  • Handle simple and compound interest calculations.
  • Automate the application of interest at customizable intervals (e.g., daily, monthly).
  • Post interest calculations to the db ensuring traceability.

Describe alternatives you've considered

  1. Manual Interest Handling: Manually calculating and applying interest, which is inefficient and error-prone.
  2. Custom Scripts: Writing scripts to handle interest logic, but this is time-intensive and not scalable.
  3. External Systems: Relying on third-party tools for interest calculations, which reduces flexibility and increases complexity.

Additional context

This feature would enable users to automate interest application workflows. For example, a business could define a rule like 5% annual compound interest, compounded monthly, on balances exceeding $1,000, and the engine would handle the calculations and updates automatically.

@jerry-enebeli jerry-enebeli added enhancement New feature or request Feature request labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature request
Projects
None yet
Development

No branches or pull requests

1 participant