Skip to content

Commit

Permalink
Merge pull request #1731 from longhutianjie/main
Browse files Browse the repository at this point in the history
bug: fix json tag
  • Loading branch information
c9s authored Sep 5, 2024
2 parents 50262f2 + c75a685 commit 1b40118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strategy/bollgrid/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1b40118

Please sign in to comment.