ta4j/src/main/java/eu/verdelhan/ta4j/TimeSeriesManager.java
public TradingRecord run(Strategy strategy, OrderType orderType, Decimal amount) {
        return run(strategy, orderType, amount, timeSeries.getBeginIndex(), timeSeries.getEndIndex());
    }
public TradingRecord run(Strategy strategy, OrderType orderType, Decimal amount) {
        return run(strategy, orderType, amount, timeSeries.getBeginIndex(), timeSeries.getEndIndex());
    }
Runs the provided strategy over the managed series.
<p>
@param strategy the trading strategy
@param orderType the {@link OrderType} used to open the trades
@param amount the amount used to open/close the trades
@return the trading record coming from the run