diff --git a/website/scripts/options/shared.js b/website/scripts/options/shared.js index 4c63e4100..7b36535eb 100644 --- a/website/scripts/options/shared.js +++ b/website/scripts/options/shared.js @@ -170,7 +170,6 @@ export function satsBtcUsdFrom({ source, key, name, color, defaultActive }) { }); } - /** * Create coinbase/subsidy/fee series from separate sources * @param {Object} args @@ -390,38 +389,6 @@ export function priceRatioPercentilesTree({ ]; } -/** - * Create grouped Price + Ratio charts overlaying multiple series - * @param {Object} args - * @param {{ name: string, color?: Color, pattern: AnyPricePattern & { ratio: AnyMetricPattern } }[]} args.list - * @param {string} args.title - * @returns {PartialOptionsTree} - */ -export function groupedSimplePriceRatioTree({ list, title }) { - return [ - { - name: "Price", - title, - top: list.map(({ name, color, pattern }) => - price({ metric: pattern, name, color }), - ), - }, - { - name: "Ratio", - title: `${title} Ratio`, - bottom: list.map(({ name, color, pattern }) => - baseline({ - metric: pattern.ratio, - name, - color, - unit: Unit.ratio, - base: 1, - }), - ), - }, - ]; -} - /** * Create coinbase/subsidy/fee rolling sum series from separate sources * @param {Object} args diff --git a/website/scripts/types.js b/website/scripts/types.js index 40c79c38c..c7c66cd86 100644 --- a/website/scripts/types.js +++ b/website/scripts/types.js @@ -84,8 +84,8 @@ * @typedef {Brk.GrossInvestedLossNetNuplProfitSentimentPattern2} FullRelativePattern * @typedef {Brk.GrossInvestedLossNetNuplProfitSentimentPattern2} UnrealizedPattern * - * Profitability bucket pattern - * @typedef {Brk.MvrvNuplRealizedSupplyPattern} RealizedSupplyPattern + * Profitability bucket pattern (supply + realized_cap + nupl) + * @typedef {Brk.NuplRealizedSupplyPattern} RealizedSupplyPattern * * Realized patterns * @typedef {Brk.CapGrossInvestorLossMvrvNetPeakPriceProfitSellSoprPattern} RealizedPattern