From 32c617a2836be518fe8f03ce949a79a85bb36eb4 Mon Sep 17 00:00:00 2001 From: narumi Date: Thu, 23 Mar 2023 16:47:48 +0800 Subject: [PATCH] replenish on start --- pkg/strategy/fixedmaker/strategy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/strategy/fixedmaker/strategy.go b/pkg/strategy/fixedmaker/strategy.go index 1f4bf1d24..d31633406 100644 --- a/pkg/strategy/fixedmaker/strategy.go +++ b/pkg/strategy/fixedmaker/strategy.go @@ -135,6 +135,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo. session.UserDataStream.OnStart(func() { // you can place orders here when bbgo is started, this will be called only once. + s.replenish(ctx) }) s.activeOrderBook.OnFilled(func(order types.Order) {