mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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{
|
||||
Interval: string(detection.Interval),
|
||||
})
|
||||
|
||||
session.Subscribe(types.KLineChannel, s.Symbol, types.SubscribeOptions{
|
||||
Interval: string(detection.MovingAverageInterval),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user