Uses of Interface
com.quantfinlib.dsl.Rule
Packages that use Rule
Package
Description
Strategy Builder DSL: compose
Rules (built via
Rules factories over indicator arrays, with
and/or/not combinators) into a backtestable strategy through
StrategyBuilder — entry/exit rules, stop loss
and take profit in a fluent chain.-
Uses of Rule in com.quantfinlib.dsl
Methods in com.quantfinlib.dsl that return RuleModifier and TypeMethodDescriptionstatic RuleRules.above(double[] a, double[] b) static RuleRules.aboveValue(double[] a, double level) default Rulestatic RuleRules.below(double[] a, double[] b) static RuleRules.belowValue(double[] a, double level) static RuleRules.crossAbove(double[] a, double[] b) a crossed above b on this bar.static RuleRules.crossAboveValue(double[] a, double level) a crossed above a constant level on this bar.static RuleRules.crossBelow(double[] a, double[] b) a crossed below b on this bar.static RuleRules.crossBelowValue(double[] a, double level) a crossed below a constant level on this bar.static RuleRules.falling(double[] a, int bars) a has fallen on each of the lastbarsbars.default RuleRule.not()default Rulestatic RuleRules.rising(double[] a, int bars) a has risen on each of the lastbarsbars.Methods in com.quantfinlib.dsl with parameters of type Rule