The settings by name, each one optional where the positional form's is.
https://screamer.readthedocs.io/en/latest/functions_fin/TripleBarrier.html for the full reference.
A three-state label over a window: +1 when the price reaches the upper barrier first, -1 when it reaches the lower barrier first, 0 when it reaches neither within horizon steps.
Optionalhorizon: number
Steps after each entry in which a barrier can be reached. It is also the vertical barrier, and the delay of the output.
Optionalupper: number
Distance of the upper barrier above the entry price, in barrier_unit. 0 turns it off.
Optionallower: number
Distance of the lower barrier below the entry price, in barrier_unit. 0 turns it off. Below 1 with barrier_unit="fraction". With "price" or "vol", a lower level at or below 0 is never reached, so the barrier is off.
OptionalbarrierUnit: string
Unit of upper and lower: "fraction" of the entry price (0.02 = 2%), "price" (an absolute amount), or "vol" (multiples of the volatility expected over the horizon).
OptionalvolSpan: number
Span of the exponentially weighted standard deviation of one-step log returns that sets the "vol" barriers. Must be greater than 1. Used only with barrier_unit="vol".
https://screamer.readthedocs.io/en/latest/functions_fin/TripleBarrier.html for the full reference.
A three-state label over a window: +1 when the price reaches the upper barrier first, -1 when it reaches the lower barrier first, 0 when it reaches neither within
horizonsteps.