bbgo: fix logger usage

This commit is contained in:
c9s 2023-03-02 16:57:29 +08:00
parent a2c6b0d9ac
commit 5c3a01e65b
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -229,7 +229,7 @@ func (e *GeneralOrderExecutor) SubmitOrders(ctx context.Context, submitOrders ..
e.tradeCollector.Process() e.tradeCollector.Process()
} }
createdOrders, _, err := BatchRetryPlaceOrder(ctx, e.session.Exchange, nil, orderCreateCallback, log.StandardLogger(), formattedOrders...) createdOrders, _, err := BatchRetryPlaceOrder(ctx, e.session.Exchange, nil, orderCreateCallback, e.logger, formattedOrders...)
return createdOrders, err return createdOrders, err
} }