Pay Rule and Pay Rule Condition extension script example

  • Write custom rule class in Groovy

  • Class has to extend com.workbrain2.ta.publ.api.RuleScriptable

  • Class should use only methods and fields from provided whitelists