diff --git a/src/Binance/Extensions/CandlestickIntervalExtensions.cs b/src/Binance/Extensions/CandlestickIntervalExtensions.cs index 390b81ea..80b54caa 100644 --- a/src/Binance/Extensions/CandlestickIntervalExtensions.cs +++ b/src/Binance/Extensions/CandlestickIntervalExtensions.cs @@ -30,7 +30,7 @@ public static string AsString(this CandlestickInterval interval) case CandlestickInterval.Week: return "1w"; case CandlestickInterval.Month: return "1M"; default: - throw new ArgumentException($"{nameof(CandlestickIntervalExtensions)}.{nameof(ToString)}: {nameof(CandlestickInterval)} not supported: {interval}"); + throw new ArgumentException($"{nameof(CandlestickIntervalExtensions)}.{nameof(AsString)}: {nameof(CandlestickInterval)} not supported: {interval}"); } } }