Computes the weights of currencies in a revenue or trade basket.
Revenue per currency — Financial input. Directly drives affordability, yield, or cost; small changes compound over time. Example: 0.1.
Revenue per currency is required
total revenue — Financial input. Directly drives affordability, yield, or cost; small changes compound over time. Example: 0.101.
total revenue is required
Computes the weights of currencies in a revenue or trade basket.
Formula
basketWeights = revenuePerCurrency ÷ totalRevenue