pub(crate) fn tenor_code(tenor: Period) -> String
The tenor as the registry spells it in a code: 6M, 1Y, 1W.
6M
1Y
1W