优化总资产接口:总收益率保留两位小数

This commit is contained in:
claw_bot 2026-03-12 03:31:04 +00:00
parent aeb7a0a7fa
commit 9936cbc7f2

View File

@ -267,7 +267,7 @@ public class PortfolioService : IPortfolioService
currency = targetCurrency, currency = targetCurrency,
todayProfit = (double)totalTodayProfitInTargetCurrency, todayProfit = (double)totalTodayProfitInTargetCurrency,
todayProfitCurrency = targetCurrency, todayProfitCurrency = targetCurrency,
totalReturnRate = totalReturnRate totalReturnRate = Math.Round(totalReturnRate, 2)
}; };
} }