优化总资产接口:总收益率保留两位小数
This commit is contained in:
parent
aeb7a0a7fa
commit
9936cbc7f2
@ -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)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user