Function: printDrawdownAsString()
printDrawdownAsString(
drawdown):string
Defined in: utils/utils.ts:815
Converts a drawdown back to a string representation. This is the reverse of parseStringToDrawdown.
Parameters
drawdown
the drawdown to convert
Returns
string
a string representation where:
- '|' represents heddle up (true)
- '-' represents heddle down (false)
- ' ' (space) represents unset (null)