Git Product home page Git Product logo

pymort's Introduction

pymort

Python simulation for mortgage plans.

DISCLAIMER: Pymort implements a number of calculators that may help in planning a loan, however it does not provide financial consulting of any kind, and does not replace the guidance of a professional advisor.

See the tutorial notebook here.

Features

  • Multi-plan mortgages can be simulated under different inflation scenarios.
>>> mort = pymort.Mortgage()
>>> mort.add_plan(principal=100000, years=20, interest=3.0,
                  track_inflation=True, description='plan1')
>>> mort.plot(inflation=2.0)

single plan

  • Multiple offers (e.g., from different banks) can be evaluated under different conditions to select a mortgage that fits your constraints (e.g., the maximal monthly payment throughout the duration of the plans).
inflat_0_00    1  <<< #1 is the cheapest offer for 0% inflation
inflat_0_50    1
inflat_1_00    1
inflat_1_50    2  <<< #2 is the cheapest offer for 1.5% inflation
inflat_2_00    2
  • An interpolation model can help you decide on the period of the loan that you wish the bank to base its offer on. Based on a few initial offers, it can simulate predicted offers under different lenghts of terms, inflation scenarios and constraints.
    • For example, the combination of 18, 29, and 15 years in the table below results in favorable return ratios (the predicted cost of every loaned dollar) when the average yearly inflation rate increases above 1.5% (a result of which is that the monthly payments of the first offer exceed some limit and become too large to bear).
inflat_0_00    (16, 30, 16)
inflat_0_50    (16, 30, 16)
inflat_1_00    (16, 30, 16)
inflat_1_50    (18, 29, 15)
inflat_2_00    (15, 30, 22)  

pymort's People

Contributors

alondmnt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.