mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +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 {
|
func (k KLine) KLine() types.KLine {
|
||||||
return types.KLine{
|
return types.KLine{
|
||||||
Exchange: "max",
|
Exchange: types.ExchangeMax.String(),
|
||||||
Symbol: strings.ToUpper(k.Symbol), // global symbol
|
Symbol: strings.ToUpper(k.Symbol), // global symbol
|
||||||
Interval: types.Interval(k.Interval),
|
Interval: types.Interval(k.Interval),
|
||||||
StartTime: k.StartTime,
|
StartTime: k.StartTime,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user