Description:
The "Total Cost" indicator is showing an incorrect value. Based on the calculation logic, the expected total cost should be:
Total Cost = Total Value - Total Gain/Loss
However, the value displayed does not reflect this formula and appears inconsistent with the totals shown elsewhere on the page.
Expected Behavior:
The "Total Cost" should accurately compute as the difference between Total Value and Total Gain/Loss, and reflect this in the UI.
Actual Behavior:
The value shown in the "Total Cost" field does not match the expected result based on the provided formula.
Suggested Fix:
Double-check the calculation logic in the component responsible for displaying the total cost. Ensure that both Total Value and Total Gain/Loss are being passed and parsed correctly, and that the subtraction is performed accurately.

Description:
The "Total Cost" indicator is showing an incorrect value. Based on the calculation logic, the expected total cost should be:
Total Cost = Total Value - Total Gain/Loss
However, the value displayed does not reflect this formula and appears inconsistent with the totals shown elsewhere on the page.
Expected Behavior:
The "Total Cost" should accurately compute as the difference between Total Value and Total Gain/Loss, and reflect this in the UI.
Actual Behavior:
The value shown in the "Total Cost" field does not match the expected result based on the provided formula.
Suggested Fix:
Double-check the calculation logic in the component responsible for displaying the total cost. Ensure that both Total Value and Total Gain/Loss are being passed and parsed correctly, and that the subtraction is performed accurately.