public HoldingSummary holdingSummary() {
HoldingSummary holdingSummary = new HoldingSummary();
List<HoldingAggregate> holdings = new ArrayList<HoldingAggregate>();
holdingSummary.setHoldingsTotalGains(HOLDING_SUMMARY_GAINS.setScale(2, RoundingMode.HALF_UP));
HoldingAggregate holding1 = new HoldingAggregate();
holding1.setSymbol(SYMBOL);
holding1.setGain(GAIN1.setScale(2, RoundingMode.HALF_UP));
holding1.setPercent(FinancialUtils.calculateGainPercentage(holding1.getGain(), holdingSummary.getHoldingsTotalGains()).setScale(2, RoundingMode.HALF_UP));
holdings.add(holding1);
HoldingAggregate holding2 = new HoldingAggregate();
holding2.setSymbol(SYMBOL2);
holding2.setGain(GAIN2.setScale(2, RoundingMode.HALF_UP));
holding2.setPercent(FinancialUtils.calculateGainPercentage(holding2.getGain(), holdingSummary.getHoldingsTotalGains()).setScale(2, RoundingMode.HALF_UP));
holdings.add(holding2);
holdingSummary.setHoldingRollups(holdings);
return holdingSummary;
}