Uses of Class
com.quantfinlib.backtest.BacktestResult
Packages that use BacktestResult
Package
Description
Bar-based backtesting engines, execution models and performance analytics.
-
Uses of BacktestResult in com.quantfinlib.backtest
Methods in com.quantfinlib.backtest that return BacktestResultModifier and TypeMethodDescriptionExecutionAwareResult.backtest()Backtester.Segment.result()Returns the value of theresultrecord component.static BacktestResultBacktester.run(TradingStrategy strategy, BarSeries series, BacktestConfig config) static BacktestResultBacktester.run(TradingStrategy strategy, BarSeries series, BacktestConfig config, int tradeFrom) Variant with a warm-up prefix: indicators are initialised over the whole series, but no signal is acted on (and no equity recorded) beforetradeFrom.static BacktestResultBacktester.runWholeLots(TradingStrategy strategy, BarSeries series, BacktestConfig config, double lotSize) AsBacktester.run(TradingStrategy, BarSeries, BacktestConfig)but entries buy a whole number of lots instead of investing all cash.Constructors in com.quantfinlib.backtest with parameters of type BacktestResultModifierConstructorDescriptionSegment(BacktestResult result, Backtester.State endState) Creates an instance of aSegmentrecord class.