TradeRepository: getWeightedData working