Skip to content

Paulsulli92/YieldCurves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YieldCurves

A simple app for viewing US Treasury yield data. It shows the yields for different bond durations for the current day an several other times up to a year ago.

I have this hosted in AWS using a S3 static website. The website used AJAX to call an API that we host to get the data, then populates a HighCharts object with the data. To set this up you must:

  • Create a Lambda function and upload the Python script to it. This script pulls the latest data from the Treasury's website and then returns data for the days we want to display
  • Create an API Gateway with an endpoint that invokes the lambda
  • Replace API_ID in chart.html with the ID of the API Gateway you created
  • Create a bucket, upload the two .html files to it and enable it as a static website

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published