diff --git a/pkg/strategy/dca2/take_profit.go b/pkg/strategy/dca2/take_profit.go index ebf6d36..910772f 100644 --- a/pkg/strategy/dca2/take_profit.go +++ b/pkg/strategy/dca2/take_profit.go @@ -27,6 +27,10 @@ func (s *Strategy) placeTakeProfitOrders(ctx context.Context) error { } roundPosition := types.NewPositionFromMarket(s.Market) + roundPosition.SetExchangeFeeRate(s.ExchangeSession.ExchangeName, types.ExchangeFee{ + MakerFeeRate: s.ExchangeSession.MakerFeeRate, + TakerFeeRate: s.ExchangeSession.TakerFeeRate, + }) for _, trade := range trades { s.logger.Infof("add trade into the position of this round %s", trade.String())