package eu.verdelhan.ta4j.analysis.criteria;
import eu.verdelhan.ta4j.AnalysisCriterion;
import eu.verdelhan.ta4j.Strategy;
import eu.verdelhan.ta4j.TimeSeries;
<BUG>import eu.verdelhan.ta4j.TradingRecord;</BUG>
import java.util.List;
public abstract class AbstractAnalysisCriterion implements AnalysisCriterion {
<BUG>@Override
public double calculate(TimeSeries series, TradingRecord tradingRecord) {
return calculate(series, tradingRecord.getTrades());
}</BUG>
@Override

package eu.verdelhan.ta4j.analysis.criteria;
import eu.verdelhan.ta4j.AnalysisCriterion;
import eu.verdelhan.ta4j.Strategy;
import eu.verdelhan.ta4j.TimeSeries;
import java.util.List;
public abstract class AbstractAnalysisCriterion implements AnalysisCriterion {
@Override
