From 03cee5eb0b79447433bcce0febf145e7e1651805 Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 5 May 2021 16:57:01 +0800 Subject: [PATCH] apply types.ExchangeMAX --- pkg/exchange/max/maxapi/public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exchange/max/maxapi/public.go b/pkg/exchange/max/maxapi/public.go index 389bf4293..58aeb5cb1 100644 --- a/pkg/exchange/max/maxapi/public.go +++ b/pkg/exchange/max/maxapi/public.go @@ -213,7 +213,7 @@ type KLine struct { func (k KLine) KLine() types.KLine { return types.KLine{ - Exchange: "max", + Exchange: types.ExchangeMax.String(), Symbol: strings.ToUpper(k.Symbol), // global symbol Interval: types.Interval(k.Interval), StartTime: k.StartTime,