Git Product home page Git Product logo

ldi_dl's Introduction

LDI_DL

Deep Learning for Liability Driven Investment

This program is a reinforcement learning example to solve a simplified DB pension plan dynamic LDI strategy optimization. It is part of the research project "Deep Learning for LDI" sponsored by the Society of Actuaries. The program is intended for educational purpose.

It is coded in Python using PyTorch, which is an open source deep learning package.

The program is saved as an Jupyter Notebook has been tested using Python3.7 with Nivida GPUs.

File Structure

Root folder

test.ipynb: This file uses a neural network model to represent the reward function in reinfrocement learning. It contains ESG, asset and liability projection, model setup and model training. It solves a simple question: given economic conditions, do I need to increase equity allocation (3%), decrease it (-3%) or keep it the same level as before, at each decision time point in the future? More complicated strategy including more asset classes, allocation limits, and other logics can be easily included.

Subfolder

input: Files containing model assumptions

Run Setting

To DO TASK: File "test.ipynb" have comments about the inputs and run parameters that can be revised according to users' preference.

Run Program

  1. To run model, open the notebook with Jupyter Notebook and conduct the run.
  2. The notebook can also be saved as a py file and can be run using "python test.py"

Input Folder

It contains some csv files that are used by the program as inputs. File "test.csv" contains a sample of pregernarated scenarios for model training. The program contains scenario generation codes to generate more scenarios in real training.

ldi_dl's People

Contributors

windwill 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.