tensortrade.feed.api.string package

class tensortrade.feed.api.string.String[source]

Bases: object

A class to register accessor and instance methods.

classmethod register(names: List[str])[source]

A function decorator that adds accessor and instance methods for specified data type.

Parameters:

names (List[str]) – A list of names used to register the function as a method.

Returns:

Callable – A decorated function.

class tensortrade.feed.api.string.StringMethods(stream: Stream)[source]

Bases: Methods

capitalize(*args, **kwargs)
cat(*args, **kwargs)
endswith(*args, **kwargs)
lower(*args, **kwargs)
slice(*args, **kwargs)
startswith(*args, **kwargs)
upper(*args, **kwargs)
class tensortrade.feed.api.string.StringMixin[source]

Bases: DataTypeMixin

capitalize(*args, **kwargs)
cat(*args, **kwargs)
endswith(*args, **kwargs)
lower(*args, **kwargs)
slice(*args, **kwargs)
startswith(*args, **kwargs)
upper(*args, **kwargs)

Submodules