return_to_label

czsc.signals.utils.return_to_label(r, th=50)[source]

收益转标签

Parameters
  • r – 收益值

  • th – 阈值

Returns