Skip to content

alicekwn/Portability-regulation

Repository files navigation

Portability Regulation: Impact on banks and insurers

This project investigates how the promulgation of regulations designed to increase the portability of bank deposits and insurance policies will impact their profitability, respectively.

Setup

git clone https://github.com/alicekwn/Portability-regulation.git
cd template

Give execute permission to your script and then run setup_repo.sh

chmod +x setup_repo.sh
./setup_repo.sh
. venv/bin/activate

or follow the step-by-step instructions below between the two horizontal rules:


Create a python virtual environment

  • MacOS / Linux
python3 -m venv venv
  • Windows
python -m venv venv

Activate the virtual environment

  • MacOS / Linux
. venv/bin/activate
  • Windows (in Command Prompt, NOT Powershell)
venv\Scripts\activate.bat

Install toml

pip install toml

Install the project in editable mode

pip install -e ".[dev]"

Plot graphs

Banks

python scripts/bank.py

Alternative:

mathematica: portability_bank.nb

desmos: https://www.desmos.com/calculator/fahgqjbnze

Insurers

python scripts/insurer.py

Alternative:

mathematica: portability_insurer.nb

desmos: https://www.desmos.com/calculator/fc10yatkcq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors