feat: redesign portfolio position cards

This commit is contained in:
2026-08-17 13:35:22 +03:00
parent da55de5b50
commit 5168870cf2
9 changed files with 182 additions and 44 deletions
+1
View File
@@ -252,6 +252,7 @@ export interface components {
currentValue: components["schemas"]["MoneyDto"] | null;
averagePurchasePrice: components["schemas"]["MoneyDto"] | null;
absoluteReturn: components["schemas"]["MoneyDto"] | null;
isin: string | null;
};
PortfolioDto: {
/** Format: date-time */
+6 -1
View File
@@ -1341,6 +1341,10 @@
"$ref": "#/components/schemas/MoneyDto"
}
]
},
"isin": {
"type": "string",
"nullable": true
}
},
"required": [
@@ -1350,7 +1354,8 @@
"quantity",
"currentValue",
"averagePurchasePrice",
"absoluteReturn"
"absoluteReturn",
"isin"
]
},
"PortfolioDto": {
+2
View File
@@ -69,6 +69,8 @@ export const ru = {
cashBalances: "Денежные остатки",
quantity: "Количество: {{value}}",
return: "Доход: {{value}}",
avgPrice: "Средняя цена: {{value}}",
share: "Доля: {{value}}",
},
ledger: {
title: "Журнал операций",