Skip to content

Add Treasury Rates app - #3269

Open
JMHendrickson wants to merge 2 commits into
tidbyt:mainfrom
JMHendrickson:add-treasury-rates
Open

JMHendrickson wants to merge 2 commits into
tidbyt:mainfrom
JMHendrickson:add-treasury-rates

Conversation

@JMHendrickson

Copy link
Copy Markdown

Summary

Adds a new Treasury Rates community app that displays current U.S. Treasury yields for 2Y, 5Y, 10Y, and 30Y maturities, plus the 2s10s spread.

The app is intentionally separate from the existing US Yield Curve app: this is a quote-board style display for current benchmark rates rather than a historical curve chart.

Data source

The app fetches a compact public JSON endpoint hosted on BEMA infrastructure:

https://www.bema.my/tidbyt/treasury-rates.json

The endpoint is cached server-side and the app uses Pixlet HTTP caching with ttl_seconds = 300 plus max_age = 300 to keep request volume modest.

Validation

Ran locally with Pixlet v0.34.0:

pixlet lint apps/treasuryrates/treasury_rates.star
pixlet community validate-manifest apps/treasuryrates/manifest.yaml
pixlet check apps/treasuryrates/treasury_rates.star
pixlet render apps/treasuryrates/treasury_rates.star --gif --magnify 10 -o apps/treasuryrates/treasury_rates.gif

All checks passed.

@tidbyt

tidbyt Bot commented Sep 5, 2026

Copy link
Copy Markdown

⚠️ The automated review process is experimental and likely has bugs. Please bear with us as we iron out the kinks and enable you to ship changes at high velocity 🚀

Next Steps

Hello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:

  • Sign the CLA if you haven't already
  • Ensure your build is green! Any problem will display a proposed solution to try out
  • Get a review, either by Tidbyt Bot or by a Tidbyt engineer

Manual Review Required

Hang tight! A Tidbyt engineer will be by shortly to review your change. Here is what they will be looking for:

Test Details
✅ App Dir All files are in a single app directory
🟡 Modules Usage of http.star requires review
✅ Original Author The original author matches the PR author

@tidbyt-bot

tidbyt-bot commented Sep 5, 2026 •

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@JMHendrickson

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@JMHendrickson

Copy link
Copy Markdown
Author

Recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants