Skip to main content

ZScoreParams

z_score strategy parameters.

threshold: number of standard deviations required to trigger (must be > 0) direction: 'above' | 'below' | 'any' window: lookback duration string (default '30d')

Note: parameter key is 'threshold', NOT 'value' or 'cutoff'. This is different from every other strategy — z_score is the only one where the sensitivity param is called 'threshold'.

thresholdThreshold (number)required

Possible values: > 0

directionZScoreDirection (string)required

Possible values: [above, below, any]

windowWindow (string)
Default value: 30d
ZScoreParams
{
"threshold": 0,
"direction": "above",
"window": "30d"
}