Skip to content

Commit

Permalink
bug: fix json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
longhutianjie committed Sep 4, 2024
1 parent 50262f2 commit c75a685
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 c75a685

Please sign in to comment.