bbgo: init call to updateMarginAssetMaxBorrowable

This commit is contained in:
c9s 2022-09-19 09:25:54 +08:00
parent 8180153e9c
commit 1d1d5d497f
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -88,6 +88,7 @@ func (e *GeneralOrderExecutor) marginAssetMaxBorrowableUpdater(ctx context.Conte
t := time.NewTicker(util.MillisecondsJitter(interval, 500))
defer t.Stop()
e.updateMarginAssetMaxBorrowable(ctx, marginService, market)
for {
select {
case <-ctx.Done():