Skip to content

Godul/fintech-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinTech Calculator

A calculator for different types of mortgage loans, created for FinTech classes 2020.

Usage

To use calculator, type in bash console:

python calculator.py path/to/input.json

Input format

Calculator accepts input in json. Example:

{
  "amount": 500000,
  "term_in_months": 300,
  "interest_rate": 0.037,
  "installment_method": "fixed",
  "commission_method": "not_include"
}

There are 6 possible arguments:

  • amount - float
  • term_in_months - integer
  • interest_rate - float
  • installment_method - fixed or decreasing
  • commission_method - not_include or increases_amount or decreases_amount
  • commission_rate - float

Each argument, if not provided, has default value. Default values are as follows:

{
  "amount": 200000,
  "term_in_months": 240,
  "interest_rate": 0.05,
  "installment_method": "fixed",
  "commission_method": "not_include",
  "commission_rate": 0.015
}

About

Mortgage loan calculator for FinTech classes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages