mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy: rename 'trailingStopCallBackRatio' JSON tag to 'callBackRatio'
This commit is contained in:
parent
b48c7f40d7
commit
769da1e77c
|
@ -79,7 +79,7 @@ func (stop *PercentageTargetStop) GenerateOrders(market types.Market, pos *types
|
||||||
}
|
}
|
||||||
|
|
||||||
type TrailingStopTarget struct {
|
type TrailingStopTarget struct {
|
||||||
TrailingStopCallBackRatio fixedpoint.Value `json:"trailingStopCallBackRatio"`
|
TrailingStopCallBackRatio fixedpoint.Value `json:"callBackRatio"`
|
||||||
MinimumProfitPercentage fixedpoint.Value `json:"minimumProfitPercentage"`
|
MinimumProfitPercentage fixedpoint.Value `json:"minimumProfitPercentage"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user