tensortrade.feed.api.boolean.operations module

tensortrade.feed.api.boolean.operations.invert(s: Stream[bool]) Stream[bool][source]

Inverts the truth value of the given stream.

Parameters:

s (Stream[bool]) – A boolean stream.

Returns:

Stream[bool] – An inverted stream of s.