ta4j/src/main/java/eu/verdelhan/ta4j/TimeSeriesManager.java
public TradingRecord run(Strategy strategy, OrderType orderType, int startIndex, int finishIndex) {
        return run(strategy, orderType, Decimal.NaN, startIndex, finishIndex);
    }
public TradingRecord run(Strategy strategy, OrderType orderType, int startIndex, int finishIndex) {
        return run(strategy, orderType, Decimal.NaN, startIndex, finishIndex);
    }
public TradingRecord run ( Strategy strategy , OrderType orderType , int startIndex , int finishIndex ) { return run ( strategy , orderType , Decimal . NaN , startIndex , finishIndex ) ; }
Runs the provided strategy over the managed series (from startIndex to finishIndex).
<p>
Opens the trades with {@link OrderType.BUY} orders.
@param strategy the trading strategy
@param orderType the {@link OrderType} used to open the trades
@param startIndex the start index for the run (included)
@param finishIndex the finish index for the run (included)
@return the trading record coming from the run
Runs the provided strategy over the managed series ( from startIndex to finishIndex ) . <p > Opens the trades with {