From dadf22e48f87d55d936de7545e238597e228d831 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 13 Jun 2023 13:40:39 +0800 Subject: [PATCH] xalign: add more log --- pkg/strategy/xalign/strategy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/strategy/xalign/strategy.go b/pkg/strategy/xalign/strategy.go index 89fbc6035..0bb0143bc 100644 --- a/pkg/strategy/xalign/strategy.go +++ b/pkg/strategy/xalign/strategy.go @@ -122,6 +122,8 @@ func (s *Strategy) selectSessionForCurrency(ctx context.Context, sessions map[st // changeQuantity < 0 = sell q := changeQuantity.Abs() + log.Infof("%s changeQuantity: %f ticker: %+v market: %+v", symbol, changeQuantity.Float64(), ticker, market) + switch side { case types.SideTypeBuy: