Uses of Record Class
com.quantfinlib.backtest.Backtester.State
Packages that use Backtester.State
Package
Description
Bar-based backtesting engines, execution models and performance analytics.
-
Uses of Backtester.State in com.quantfinlib.backtest
Methods in com.quantfinlib.backtest that return Backtester.StateModifier and TypeMethodDescriptionBacktester.Segment.endState()Returns the value of theendStaterecord component.static Backtester.StateBacktester.State.flat(double capital) Flat book withcapitalin cash.Methods in com.quantfinlib.backtest with parameters of type Backtester.StateModifier and TypeMethodDescriptionstatic Backtester.SegmentBacktester.runSegment(TradingStrategy strategy, BarSeries series, BacktestConfig config, int tradeFrom, Backtester.State start, int indexOffset, boolean liquidateAtEnd) Runs bars[tradeFrom, n)ofseriesstarting fromstart.Constructors in com.quantfinlib.backtest with parameters of type Backtester.StateModifierConstructorDescriptionSegment(BacktestResult result, Backtester.State endState) Creates an instance of aSegmentrecord class.