apply types.ExchangeMAX

This commit is contained in:
c9s 2021-05-05 16:57:01 +08:00
parent 503ce42a8d
commit 03cee5eb0b

View File

@ -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,