strategy: rename 'trailingStopCallBackRatio' JSON tag to 'callBackRatio'

This commit is contained in:
Andy Cheng 2022-01-28 13:07:57 +08:00
parent b48c7f40d7
commit 769da1e77c
No known key found for this signature in database
GPG Key ID: 936427CF651A9D28

View File

@ -79,7 +79,7 @@ func (stop *PercentageTargetStop) GenerateOrders(market types.Market, pos *types
}
type TrailingStopTarget struct {
TrailingStopCallBackRatio fixedpoint.Value `json:"trailingStopCallBackRatio"`
TrailingStopCallBackRatio fixedpoint.Value `json:"callBackRatio"`
MinimumProfitPercentage fixedpoint.Value `json:"minimumProfitPercentage"`
}