fix flake8 issue
This commit is contained in:
parent
848ecb91bb
commit
65f7b75c34
@ -3,6 +3,7 @@
|
|||||||
import talib.abstract as ta
|
import talib.abstract as ta
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
|
|
||||||
def test_talib_bollingerbands_near_zero_values():
|
def test_talib_bollingerbands_near_zero_values():
|
||||||
inputs = pd.DataFrame([
|
inputs = pd.DataFrame([
|
||||||
{'close': 0.00000010},
|
{'close': 0.00000010},
|
||||||
@ -12,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