INNER CODE UNIT · Python
API
TA-Lib/ta-lib-python · talib/stream.py:34
Function API skips them, and do not count toward the warm-up. A NaN or an
infinity anywhere else in the history is undefined behaviour in TA-Lib C, and
for a few window functions a handle and the Function API do then disagree.
A bar that is not finite is likewise rejected: ``update`` raises and the handle
is left exactly as it was, neither its value nor its range moved. For a bar you
mean to skip rather than re-feed, say so with ``advance()``, or two handles on
one feed drift a bar apart.
``open_and_fill`` is the alternate constructor for when you want the batch
series over the history as well -- one pass gives both:
s, rsi = stream.RSI.open_and_fill(history, timeperiod=14)
A multi-output function answers with a plain tuple, in the order the Function
API returns and named by ``abstract.Function(name).output_names``; a
single-output one with a bare float (or int). Handles cannot be pickled.
"""