Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_apz():
"""test TA.APZ"""
apz = TA.APZ(ohlc)
assert isinstance(apz["UPPER"], series.Series)
assert isinstance(apz["LOWER"], series.Series)
assert apz["UPPER"].values[-1] == 7193.9772579390283