← Back to home
Comparison · Analytics

treasury vs trendseries

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

Shared themes:r-package

treasury vs trendseries: at a glance

Featuretreasurytrendseries
SectorAnalyticsAnalytics
Velocity score0.03.8
Sparks · 30d01
Top themestreasury-rates, fixed-income, r-package, api-wrappertime-series, econometrics, r-package, seasonal-decomposition
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

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 →

What is trendseries?

A trend-extraction toolkit grows a full decomposition engine, seasonal components and all.

trendseries extracts trends from economic time series through two pipe-friendly functions, backed by an unusually broad method set — Hodrick-Prescott in one- and two-sided variants, Baxter-King, Christiano-Fitzgerald, Hamilton regression, Beveridge-Nelson, unobserved components, plus the moving average and smoothing family. The 1.4 release adds decomposition proper: an exported decompose_series() that splits a series into trend, seasonal, and remainder across five methods and guarantees the components add back to the original values.

Read the full trendseries trajectory →

treasury vs trendseries: editorial side-by-side

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.

T
trendseries
ANALYTICS
3.8

A trend-extraction toolkit grows a full decomposition engine, seasonal components and all.

◆ Current state

trendseries extracts trends from economic time series through two pipe-friendly functions, backed by an unusually broad method set — Hodrick-Prescott in one- and two-sided variants, Baxter-King, Christiano-Fitzgerald, Hamilton regression, Beveridge-Nelson, unobserved components, plus the moving average and smoothing family. The 1.4 release adds decomposition proper: an exported decompose_series() that splits a series into trend, seasonal, and remainder across five methods and guarantees the components add back to the original values.

◆ Where it's heading

The package is moving from breadth of methods to rigour about what those methods produce. Recent work has been about defaults and guarantees rather than new filters: the unobserved components model now derives its signal-to-noise ratios from Hodrick-Prescott lambdas so the default output is economically interpretable, decomposition carries an exact additive identity, and a log transform gives a uniform multiplicative variant across every method. Naming is being tidied in the same spirit, with group_vars deprecated in favour of group_cols. Side-by-side method comparison — passing several methods and getting each one's components as separate columns — suggests an audience that treats method choice as a research question rather than a setting.

◆ Prediction

Expect the comparison and diagnostic side to keep developing, since the package now produces multiple decompositions of the same series and offers no ranking between them; the entries give no indication of new filters being queued.

Alternatives to treasury and trendseries

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 treasury or trendseries.

See all treasury alternatives → · See all trendseries alternatives →

Recent activity from treasury and trendseries

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

  1. 15d agotrendseriesDecomposition becomes a first-class operation, five methods deep
  2. 1mo agotreasuryBill rates gain CUSIP and maturity date; locale bug fixed
  3. 3mo agotrendseriesMulti-column trends and economically grounded UCM defaults
  4. 4mo agotreasuryOptional response caching, one day by default
  5. 10mo agotrendseriesFirst production release with 21 trend extraction methods
  6. 11mo agotreasuryRate functions renamed to singular for consistency
  7. 1y agotreasuryEvery function now returns a data.table
  8. 2y agotreasuryHQM, coupon-issue and breakeven inflation curves added

Frequently asked questions

What is the difference between treasury and trendseries?

Both compete on the same themes — r-package — within Analytics. trendseries is currently shipping more aggressively (velocity 3.8 vs 0.0), with 1 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is treasury better than trendseries?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. trendseries is currently shipping more aggressively (velocity 3.8 vs 0.0), with 1 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

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.

What are the best alternatives to trendseries?

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