From 17ba1c142dc83237821c35c2f7d1870ab7124719 Mon Sep 17 00:00:00 2001 From: c9s Date: Fri, 26 Aug 2022 18:12:42 +0800 Subject: [PATCH] bbgo: fix support take profit field type --- pkg/bbgo/exit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bbgo/exit.go b/pkg/bbgo/exit.go index 68282cecb..e4a59e6e0 100644 --- a/pkg/bbgo/exit.go +++ b/pkg/bbgo/exit.go @@ -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 {