cesto.products reads baskets (products). Both methods are read-only.
List products
Include backtested performance
SetincludeBacktest to merge backtested performance onto each item (one extra request).
If that data can’t be fetched, backtest comes back null rather than failing the call.
Optional category filter.
Also fetch and attach backtested performance per product.
Get a product
Fetch a single basket by its slug.Include the backtested chart
Also fetch and attach the backtested chart.
Chart window. Full metrics (CAGR, Sharpe, etc.) are only computed for
1y.