mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
apply types.ExchangeMAX
This commit is contained in:
parent
503ce42a8d
commit
03cee5eb0b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user