ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

The results obtained by streaming and api are very different

Open gucasbrg opened this issue 1 year ago • 3 comments

import talib as ta
from talib import stream as ta_stream
close = np.random.random(100)
output = ta.RSI(close, timeperiod=period)
latest = ta_stream.RSI(close, timeperiod=period)
print(output)
print(latest)
print(output[-1] - latest)

gucasbrg avatar Jun 27 '23 13:06 gucasbrg