API documentation for pandas_ta.momentum.bop Python function.
- bop(open_, high, low, close, scalar=None, talib=None, offset=None, **kwargs)#
Balance of Power (BOP)
Balance of Power measure the market strength of buyers against sellers.
BOP = scalar * (close - open) / (high - low)
open (pd.Series): Series of ‘open’s high (pd.Series): Series of ‘high’s low (pd.Series): Series of ‘low’s close (pd.Series): Series of ‘close’s scalar (float): How much to magnify. Default: 1 talib (bool): If TA Lib is installed and talib is True, Returns the TA Lib
version. Default: True
offset (int): How many periods to offset the result. Default: 0
fillna (value, optional): pd.DataFrame.fillna(value) fill_method (value, optional): Type of fill method
pd.Series: New feature generated.