private Collection<TrendBar> returnCollection(Collection<TrendBar> trendBars) {
        if (trendBars.isEmpty()) {
            return Collections.emptyList();
        }
        return trendBars;
    }