liqmaker: log liquidity amount

This commit is contained in:
c9s 2024-10-28 17:32:35 +08:00
parent 2b00c7ac01
commit 4d4afee6aa
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -447,6 +447,8 @@ func (s *Strategy) placeLiquidityOrders(ctx context.Context) {
s.logger.Infof("place bid: %v, place ask: %v", placeBid, placeAsk) s.logger.Infof("place bid: %v, place ask: %v", placeBid, placeAsk)
s.logger.Infof("bid liquidity amount %f, ask liquidity amount %f", s.BidLiquidityAmount.Float64(), s.AskLiquidityAmount.Float64())
var bidExposureInUsd = fixedpoint.Zero var bidExposureInUsd = fixedpoint.Zero
var askExposureInUsd = fixedpoint.Zero var askExposureInUsd = fixedpoint.Zero
var orderForms []types.SubmitOrder var orderForms []types.SubmitOrder