mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix typo
This commit is contained in:
parent
553976449d
commit
f42ef77296
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/c9s/bbgo/pkg/util"
|
"github.com/c9s/bbgo/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Strategy) runBackgrounTask(ctx context.Context) {
|
func (s *Strategy) runBackgroundTask(ctx context.Context) {
|
||||||
s.logger.Info("run background task")
|
s.logger.Info("run background task")
|
||||||
|
|
||||||
// recover active orders
|
// recover active orders
|
||||||
|
|
|
@ -328,7 +328,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
go s.runBackgrounTask(ctx)
|
go s.runBackgroundTask(ctx)
|
||||||
|
|
||||||
bbgo.OnShutdown(ctx, func(ctx context.Context, wg *sync.WaitGroup) {
|
bbgo.OnShutdown(ctx, func(ctx context.Context, wg *sync.WaitGroup) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user