Skip to content

Commit 32c617a

Browse files
committed
replenish on start
1 parent b48f970 commit 32c617a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/strategy/fixedmaker/strategy.go

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
135135

136136
session.UserDataStream.OnStart(func() {
137137
// you can place orders here when bbgo is started, this will be called only once.
138+
s.replenish(ctx)
138139
})
139140

140141
s.activeOrderBook.OnFilled(func(order types.Order) {

0 commit comments

Comments
 (0)