From dcbce18fd85084cf2902685868fc03d46ee63d51 Mon Sep 17 00:00:00 2001 From: c9s Date: Sat, 25 Dec 2021 23:12:54 +0800 Subject: [PATCH] fix format --- pkg/backtest/exchange.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/backtest/exchange.go b/pkg/backtest/exchange.go index 9fef46237..1185eab78 100644 --- a/pkg/backtest/exchange.go +++ b/pkg/backtest/exchange.go @@ -352,7 +352,7 @@ func (e *Exchange) FeedMarketData() error { loadedIntervals[types.Interval(sub.Options.Interval)] = struct{}{} default: - return fmt.Errorf("stream channel %marketDataStream is not supported in backtest", sub.Channel) + return fmt.Errorf("stream channel %s is not supported in backtest", sub.Channel) } } @@ -401,4 +401,3 @@ func (e *Exchange) FeedMarketData() error { return nil } -