test_talib fix

This commit is contained in:
Nullart2 2018-08-15 11:01:59 +08:00
parent 2bc7a668a3
commit 48e218d6c0

View File

@ -13,4 +13,4 @@ def test_talib_bollingerbands_near_zero_values():
{'close': 0.00000014} {'close': 0.00000014}
]) ])
bollinger = ta.BBANDS(inputs, matype=0, timeperiod=2) bollinger = ta.BBANDS(inputs, matype=0, timeperiod=2)
assert (bollinger['upperband'][3] == bollinger['middleband'][3]) assert (bollinger['upperband'][3] != bollinger['middleband'][3])