bbgo: fix support take profit field type

This commit is contained in:
c9s 2022-08-26 18:12:42 +08:00
parent fb9a4994c0
commit 17ba1c142d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -38,7 +38,7 @@ type ExitMethod struct {
// =================================================
LowerShadowTakeProfit *LowerShadowTakeProfit `json:"lowerShadowTakeProfit"`
CumulatedVolumeTakeProfit *CumulatedVolumeTakeProfit `json:"cumulatedVolumeTakeProfit"`
SupportTakeProfit []*SupportTakeProfit `json:"supportTakeProfit"`
SupportTakeProfit *SupportTakeProfit `json:"supportTakeProfit"`
}
func (e ExitMethod) String() string {