Skip to content

hnlearndev/ilp-uvl-cashflow-illustration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CASHFLOW ILLUSTRATION FOR UNIVERSAL LIFE AND INVESTMENT LINK PRODUCT

Excek to Rust

About The Project

If you are Rustaceans happening to come acrros this, welcome to the opening door of the next century most-loved programming language. Let's march together.

If you are an aspiring actuary, welcome to the time-saving solution for your early career.

Here are common obstacles:

  • Sales illustration is one of the most common task that actuary might face during his/her career. Simple in its nature yet sufficiently complex once involved with different parties. Eventually, an actuary might cross to the field of IT or Agency practises to deliver his solution on such a small and niche topic.
  • A vast differences between developing and developed market place emphasis on the task importance. In developing market, building things from the ground up creates an entirely different challenge set.
  • A single issue will escalate at speed of light and sizable impact. Many regulation problems usually come from this, especially in developing markets.

Here's why:

  • The repos is written for a sole purpose of learning Rust 🦀. The most lovable and suitable language for system development.
  • The tool is consolidated with the most versatile solution possible for Universal Life and Investment Link Product illustration. With minor adjustments, you are ready to deliver a full suite of solution to speed up the delivery of contract to customers.
  • The tool helps to ease the gap between spreadsheet and system implementation.
  • The tool acts as medium to understand the complexity at translation from spreadsheets to system implementation and how proper architecture planning can help with model construction.

More discussion on implementation can be found at Empty

Built With

  1. Excel spreadsheet:
  • The cannot-live-without tool by all actuaries, playing as a basis to cross check the main built by Rust.
  • Excel Table was intensively used to simplify readable formulas.
  • However, Office Script (TypeScript) is used to handle cashflow runs instead of VBA. Reasons: Cross-platform and speed.
  • The test file is at 📁 src/cashflows/test_data/ilp_uvl_unified.xlsx
  • Repos with TypeScript code and regular updates can be found here.
  1. Rust lang:
  • Polars crate is used to handle calculation.
  • The cashflow is then cross-checked with Excel file to confirm consistency.
  • All the test cases are included.
  • Polars crate is used to handle calculation.
  • The cashflow is then cross-checked with Excel file to confirm consistency.
  • All the test cases are included.

Getting started

Rust installation

Install Rust

Repo installation

  • Clone the repo:
git clone https://github.com/hnlearndev/Universal-Life-Investment-Link-Cashflow-Illustration-Rust

Usage

  • Go to the local repo and build dependencies:
cargo build
  • Run the package
cargo run

Roadmap

  • Add Changelog
  • Build a front-end to generate pdf
  • Buid a back-end api and other components to support functional front-end
  • Multi-language Support: Chinese, Spanish

Contact

Trung-Hieu Nguyen - [email protected]

Project Link: https://github.com/hnlearndev/Universal-Life-Investment-Link-Cashflow-Illustration

About

Generate illustration cashflow in a form of dataframe for Universal Life and Investment Link Products

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages