Skip to content

contango.strategy.rule_based.labeled

contango.strategy.rule_based.labeled

Labeled

Bases: ABC

Marks a class as an implementer of str.

__str__ abstractmethod

__str__() -> str

Returns a string representation of the class.

Source code in src\contango\strategy\rule_based\labeled.py
10
11
12
13
14
15
@abstractmethod
def __str__(self) -> str:
    """
    Returns a string representation of the class.
    """
    ...