period_open

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.period_open(open_: ArrayLike,time_open: ArrayLike,period: str = 'D',day_boundary: str = '17:00 America/New_York') -> np.ndarray

The open of the current day, week or month on every bar of it.

Parameters

NameTypeDefault
open_ArrayLike
time_openArrayLike
periodstr'D'
day_boundarystr'17:00 America/New_York'

Indicator: Period open

The value is known on the first bar of the period. A period already under way at the first bar of the data has no value. time_open is in nanoseconds (UTC) and must be in time order.