bug: fix json tag

This commit is contained in:
longhutianjie 2024-09-04 17:58:27 +08:00 committed by lychiyu
parent cb7a65ea48
commit d34e8a1a18

View File

@ -77,7 +77,7 @@ type Strategy struct {
// boll is the BOLLINGER indicator we used for predicting the price. // boll is the BOLLINGER indicator we used for predicting the price.
boll *indicator.BOLL boll *indicator.BOLL
CancelProfitOrdersOnShutdown bool `json: "shutdownCancelProfitOrders"` CancelProfitOrdersOnShutdown bool `json:"shutdownCancelProfitOrders"`
} }
func (s *Strategy) ID() string { func (s *Strategy) ID() string {