Resolve a code, throwing UnknownIntervalError if nothing recognises it.
Loud on purpose. The previous behaviour was a silent fall back to 60 seconds,
so a typo drew minute bars under a label claiming something else, and nothing
anywhere said so. A chart that refuses to open is a bug report; a chart
showing the wrong timeframe is a wrong trade.
Resolve a code, throwing
UnknownIntervalErrorif nothing recognises it.Loud on purpose. The previous behaviour was a silent fall back to 60 seconds, so a typo drew minute bars under a label claiming something else, and nothing anywhere said so. A chart that refuses to open is a bug report; a chart showing the wrong timeframe is a wrong trade.