← Back to home
Comparison · Analytics

skylight vs treasury

A side-by-side editorial comparison of skylight and treasury — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

skylight vs treasury: at a glance

Featureskylighttreasury
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesastronomy, illuminance, cpp-port, scientific-computingtreasury-rates, fixed-income, r-package, api-wrapper
Last editorial update43m ago4h ago
WebsiteVisit →Visit →

What is skylight?

A frozen astronomical model quietly became the inner loop of its sibling's optimizer.

skylight returns sun and moon illuminance, azimuth and altitude for a given date, time and location, implemented as a near-verbatim transcription of a 1987 US Naval Observatory circular. The model formulation has not changed since the initial 2022 release and the author states so explicitly. Everything shipped since has been packaging, citation and speed: v1.3 moved the main routine from R to C++, and v1.4 removed a parameter check that was flooding the console with messages.

Read the full skylight trajectory →

What is treasury?

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

Read the full treasury trajectory →

skylight vs treasury: editorial side-by-side

S
skylight
ANALYTICS
0.0

A frozen astronomical model quietly became the inner loop of its sibling's optimizer.

◆ Current state

skylight returns sun and moon illuminance, azimuth and altitude for a given date, time and location, implemented as a near-verbatim transcription of a 1987 US Naval Observatory circular. The model formulation has not changed since the initial 2022 release and the author states so explicitly. Everything shipped since has been packaging, citation and speed: v1.3 moved the main routine from R to C++, and v1.4 removed a parameter check that was flooding the console with messages.

◆ Where it's heading

This is a reference implementation of a published algorithm rather than a product accumulating features, and it is being maintained that way. The movement that does occur is driven from downstream: the C++ port was written for the inverse-modelling loop in the sibling skytrackr package, which calls skylight repeatedly during optimization. That reframes skylight from a standalone calculator into the compute kernel another package's fitting routine depends on.

◆ Prediction

With the model formulation deliberately fixed and the C++ path already in place, the next release is most likely another small maintenance fix. The entries give no indication of planned new capability.

T
treasury
ANALYTICS
0.0

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

◆ Current state

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

◆ Where it's heading

Endpoint coverage looks essentially complete, so the work has moved to the metadata a downstream analyst needs to join and audit results — cusip and maturity_date on bill quotes, the feed's updated_at stamp, and the extrapolation factor behind 2002-2006 long-term rate estimates. Error handling is tightening in the same direction: an out-of-range month now fails with a message instead of quietly returning nothing. That is the profile of a wrapper moving from coverage to correctness, where the remaining bugs are the subtle ones that only surface in other people's locales.

◆ Prediction

Expect further column-level enrichment and input validation on the endpoints already covered rather than new data sources, since the structural pieces — data.table returns and caching — are already in place.

Alternatives to skylight and treasury

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either skylight or treasury.

See all skylight alternatives → · See all treasury alternatives →

Recent activity from skylight and treasury

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agotreasuryBill rates gain CUSIP and maturity date; locale bug fixed
  2. 4mo agotreasuryOptional response caching, one day by default
  3. 9mo agoskylightNoisy parameter check removed from console output
  4. 10mo agoskylightCore routine moves from R to C++ for repeated-call speed
  5. 11mo agotreasuryRate functions renamed to singular for consistency
  6. 1y agotreasuryEvery function now returns a data.table
  7. 2y agotreasuryHQM, coupon-issue and breakeven inflation curves added
  8. 2y agoskylightCitation updated after the companion paper published
  9. 3y agoskylightSkylight v1.1
  10. 3y agoskylightFirst release: sun and moon illuminance from the 1987 USNO circular

Frequently asked questions

What is the difference between skylight and treasury?

Both compete on the same themes — r-package — within Analytics. skylight and treasury are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is skylight better than treasury?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. skylight and treasury are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to skylight?

Top skylight alternatives in Analytics are ranked by recent ship velocity. Browse the "skylight alternatives" section above for the current picks, or visit /alternatives/skylight for the full list with editorial commentary on each.

What are the best alternatives to treasury?

Top treasury alternatives in Analytics are ranked by recent ship velocity. Browse the "treasury alternatives" section above for the current picks, or visit /alternatives/treasury for the full list with editorial commentary on each.