Skip to content

Calculate deposit terms required to always keep minimum amount of cash in your hands but not more than necessary

Notifications You must be signed in to change notification settings

AqlaSolutions/DepositTermCalc

Repository files navigation

DepositTermCalc

Helps managing your money. It calculates deposits plan required to always keep minimum amount of cash in your hands but no more than necessary.

Overview

You might want it if you wish to keep most of your money in deposit bank accounts but need to withdraw some every month. In this case when you (re)open deposits you have to know exact time when you need them back. It's not so easy math if you have many of them. The algorithm generates a plan while trying to keep the specified total amount of cash available per month. Though it's not very precise because banks don't open deposits for say 131 number of days.

Features

  • Colored deposit-withdrawal plan
  • The plan ensures that you have specified amount of money each month
  • Highlights balances when they are noticiable bigger or less than the specified amount
  • Shows when it can't avoid deposit durations of less than month (in such rare case you have to just keep the cash)
  • Calculates how much time you have until you are out of money
  • Tries to keep the longest possible deposit terms for maximum percents
  • Detects when you can add money to existing deposits
  • Tries to minimize amount of unncessary operations
  • Annual percents
  • Tax
  • Inflation
  • Maximum deposit duration can be limited

Legend

<< means withdrawing, >> means opening a new deposit, vv indicates a balance before next operation, ^^ indicates a balance after next operation

Usage

DepositTermCalc.exe <input.txt>

Example input file.

Dates are specified as dd.mm.yyyy though other formats might still work.

Code

This is a simple tool and it's not meant to be maintained and developed for a long time. No OOP - plain algorithm. No tests - debugger driven development instead =)

License

Free for personal use. You can modify code but you are not allowed to distribute your changes in any form.

About

Calculate deposit terms required to always keep minimum amount of cash in your hands but not more than necessary

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages