GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - RHarmit/Fixed-Income-Portfolio-Monitoring-Risk-Analysis-Tool: Bond portfolio analytics with Macaulay duration, yield-curve visualization, and portfolio composition analysis.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
portfolio Analyst.PY
portfolio Analyst.PY
 
 

Repository files navigation

📉 Fixed Income Portfolio Monitoring & Risk Analysis Tool

Bond portfolio analytics engine with Macaulay duration, yield-curve visualization, and portfolio composition analysis using live Treasury data.

Python SciPy License: MIT


Overview

Comprehensive fixed income analysis tool that models a multi-bond portfolio, computes Macaulay duration for each position, calculates weighted portfolio duration, and overlays live US Treasury yield curve data (5Y, 10Y, 30Y). Built for fixed income analysts who need duration-based risk assessment and yield-curve monitoring in one workflow.

Features

  • Bond Portfolio Modeling — Face value, coupon rate, maturity, market price, and YTM per bond
  • Macaulay Duration — Present-value-weighted average time to receive cash flows
  • Portfolio Duration — Market-value-weighted aggregate duration across all holdings
  • Yield Curve Visualization — Fetches live 5Y, 10Y, 30Y Treasury yields and plots movements over time
  • Portfolio Composition Charts — Pie chart showing allocation by market value
  • Coupon Payment Calculation — Annual coupon payments derived from face value and coupon rate

Tech Stack

Component Technology
Language Python 3.9+
Data yfinance (^TNX, ^FVX, ^TYX)
Analytics pandas, NumPy, SciPy
Visualization Matplotlib

Quick Start

git clone https://github.com/RHarmit/Fixed-Income-Portfolio-Monitoring-Risk-Analysis-Tool.git
cd Fixed-Income-Portfolio-Monitoring-Risk-Analysis-Tool
pip install yfinance pandas numpy scipy matplotlib
python "portfolio Analyst.PY"

About

Bond portfolio analytics with Macaulay duration, yield-curve visualization, and portfolio composition analysis.

Topics

bond-portfoliodurationfixed-incomepythonyield-curve

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.