bug: fix json tag

This commit is contained in:
longhutianjie 2024-09-04 17:58:27 +08:00
parent 50262f2a84
commit c75a685cc0
No known key found for this signature in database
GPG Key ID: 62EAB0072D19DF1C

View File

@ -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 {