Class BollingerBandsStrategy

java.lang.Object
com.quantfinlib.backtest.strategies.BollingerBandsStrategy
All Implemented Interfaces:
TradingStrategy

public final class BollingerBandsStrategy extends Object implements TradingStrategy
Bollinger Band mean reversion: buy when the close dips below the lower band, sell when it recovers to the middle band or stretches above the upper band.
  • Constructor Details

    • BollingerBandsStrategy

      public BollingerBandsStrategy(int period, double k)
    • BollingerBandsStrategy

      public BollingerBandsStrategy()
  • Method Details