def __repr__(self): return getLabel(self._impl) if self._impl else ""
def label(self): return self._getLabel() + "^{" + getLabel(self._source) + "}"
def __str__(self): return getLabel(self._impl) if self._impl else ''
def _getLabel(self): return "logreturn" + getLabel(self._source)
def label(self): return getLabel(self._acc) + "(" + getLabel(self._source) + ")"
def label(self): return "Price_{" + getLabel(self.orderbook) + "}"
def label(self): return "Amount_{" + getLabel(self.trader) + "}"
def label(self): return "P&L_{" + getLabel(self.trader) + "}"
def label(self): return "InstEfficiency_{" + getLabel(self.trader) + "}"
def label(self): return 'if (' + getLabel(self.cond) + ") " + getLabel(self.ifpart) + " else " + getLabel(self.elsepart)
def label(self): """ Returns indicator label """ return "Efficiency_{"+getLabel(self._trader)+"}"