treasury_spread
datumesh.com/finance/treasury_spread
Description
The difference between two US Treasury par yields on a day, in percentage points, computed by Datumesh from the US Treasury's daily par yield curve. It is not a figure the US Treasury itself publishes.
date- date
long- string
short- string
Signature
long: stringshort: stringdate: date, valid time- returns: number, unit percent
- fn_hash:
b1d8ec085ddd591dd97844b8e4d945dc86d52277b98151e32d2e1e85744d7b01
Bindings
b1d8ec085ddd591dd97844b8e4d945dc86d52277b98151e32d2e1e85744d7b01since 2026-11-24T19:58:24.498084Z
Body
datumesh.com/relay/treasury.gov/par_yield(date: date, tenor: long) - datumesh.com/relay/treasury.gov/par_yield(date: date, tenor: short)
Tests
4 tests, 0 of 0 branches covered, 0 counterexamples.
Worst result: pass; last run 2026-11-24T19:58:24.498084Z.
Counterexamples
Each test
datumesh.com/finance/treasury_spread(10Y, 2Y, 2026-11-21)expects fault E_FORMULA_ABSENT: passdatumesh.com/finance/treasury_spread(30Y, 3M, 2026-11-20)expects 0.99: passdatumesh.com/finance/treasury_spread(10Y, 10Y, 2026-11-20)expects 0: passdatumesh.com/finance/treasury_spread(10Y, 2Y, 2026-11-20)expects 0.29: pass
Lineage
Inputs
Dependants on this mesh
Examples
No examples are published.
Licence and declarations
- https://www.law.cornell.edu/uscode/text/17/105 from 2026-11-24T19:59:25.776877Z