Skip to content

Calculate the values of your savings bonds using the official TreasuryDirect.gov calculator

License

Notifications You must be signed in to change notification settings

zachstence/savings-bonds-calculator

Repository files navigation

savings-bonds-calculator

Calculate the value of your United States EE Paper Savings Bonds

license mit wakatime

Details

This project is an alternative to the Treasury Direct Paper Savings Bonds calculator. Input on that site is tedious and error prone. Instead, simply provide a CSV file to this script and it will get all the data for you.

Setup

git clone https://github.com/zachstence/savings-bonds-calculator
cd savings-bonds-calculator
npm i

Usage

./savings-bonds-calculator [csv file] [as of date (optional)]

# e.g.
./savings-bonds-calculator ./bonds.csv
./savings-bonds-calculator ./bonds.csv 01/2020

CSV Format

The CSV should have 4 columns: Series, Denomination, Serial Number, Issue Date

The CSV should have no header

e.g.

EE,100,ABC123ABC123,01/2000
EE,50,ABC123ABC123,02/2000
EE,25,ABC123ABC123,02/2000

About

Calculate the values of your savings bonds using the official TreasuryDirect.gov calculator

Topics

Resources

License

Stars

Watchers

Forks