test_talib fix
This commit is contained in:
parent
2bc7a668a3
commit
48e218d6c0
@ -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])
|
||||||
|
Loading…
Reference in New Issue
Block a user