xalign: add logger

This commit is contained in:
c9s 2023-06-21 17:36:09 +08:00
parent bc8adb6d33
commit c802fae211
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -8,7 +8,7 @@ import (
"sync"
"time"
log "github.com/sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/c9s/bbgo/pkg/bbgo"
"github.com/c9s/bbgo/pkg/fixedpoint"
@ -17,6 +17,8 @@ import (
const ID = "xalign"
var log = logrus.WithField("strategy", ID)
func init() {
bbgo.RegisterStrategy(ID, &Strategy{})
}