OptionalbarrierUnit of upper and lower: "fraction" of the entry close (0.02 = 2%), "price" (an absolute amount), or "vol" (multiples of the volatility expected over the horizon).
OptionalhorizonBars after each entry in which a barrier can be reached. It is also the vertical barrier, and the delay of the output.
OptionallowerDistance of the lower barrier below the entry close, 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.
OptionalupperDistance of the upper barrier above the entry close, in barrier_unit. 0 turns it off.
OptionalvolSpan of the exponentially weighted standard deviation of one-step log returns of the close that sets the "vol" barriers. Must be greater than 1. Used only with barrier_unit="vol".
The settings of TripleBarrierOHLC by name, for
TripleBarrierOHLC({ ... }).