mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 02:53:50 +00:00
techsignal: fix ma subscription
This commit is contained in:
parent
c36bbd6c35
commit
ebc61de946
|
@ -70,6 +70,10 @@ func (s *Strategy) Subscribe(session *bbgo.ExchangeSession) {
|
||||||
session.Subscribe(types.KLineChannel, s.Symbol, types.SubscribeOptions{
|
session.Subscribe(types.KLineChannel, s.Symbol, types.SubscribeOptions{
|
||||||
Interval: string(detection.Interval),
|
Interval: string(detection.Interval),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
session.Subscribe(types.KLineChannel, s.Symbol, types.SubscribeOptions{
|
||||||
|
Interval: string(detection.MovingAverageInterval),
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user