From d34e8a1a18dc67618761d5db6a6317fcffbad0d3 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 29feeba..3e1a057 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 {