From c75a685cc01a2d40892a180ba88531949c1803c9 Mon Sep 17 00:00:00 2001 From: longhutianjie Date: Wed, 4 Sep 2024 17:58:27 +0800 Subject: [PATCH] bug: fix json tag --- pkg/strategy/bollgrid/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/bollgrid/strategy.go b/pkg/strategy/bollgrid/strategy.go index 9bd8f4ce0..7225ac682 100644 --- a/pkg/strategy/bollgrid/strategy.go +++ b/pkg/strategy/bollgrid/strategy.go @@ -77,7 +77,7 @@ type Strategy struct { // boll is the BOLLINGER indicator we used for predicting the price. boll *indicator.BOLL - CancelProfitOrdersOnShutdown bool `json: "shutdownCancelProfitOrders"` + CancelProfitOrdersOnShutdown bool `json:"shutdownCancelProfitOrders"` } func (s *Strategy) ID() string {