]
Triggers
A trigger observes the price path of an asset and triggers an event if a certain condition is has been met since the last time the event was triggered (for example if the asset price has moved 10% up or down). The intended application is as a signal to initiate the next trade in a trading strategy. The most obvious triggers are implemented:
NullTrigger
event is triggered only at the horizon.TriggerPeriodic
event is triggered in equal time intervals.
TriggerOnPercentChange
event is triggered as soon as the asset
price has moved a set percentage.