Uses of Enum Class
com.quantfinlib.backtest.Signal
Packages that use Signal
Package
Description
Bar-based backtesting engines, execution models and performance analytics.
-
Uses of Signal in com.quantfinlib.backtest
Subclasses with type arguments of type Signal in com.quantfinlib.backtestModifier and TypeClassDescriptionenumTrading signal emitted by a strategy for a single bar.Methods in com.quantfinlib.backtest that return SignalModifier and TypeMethodDescriptionTradingStrategy.onBar(int index) default SignalTradingStrategy.onBar(int index, double position) Position-aware variant, called byBacktesterwith the quantity currently held (0 when flat, positive when long).Backtester.State.pending()Returns the value of thependingrecord component.static SignalReturns the enum constant of this class with the specified name.static Signal[]Signal.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.quantfinlib.backtest with parameters of type Signal