feat: consume money projected event amounts

This commit is contained in:
2026-08-25 22:30:08 +03:00
parent d10e1dd182
commit 1fd9a3a861
7 changed files with 25 additions and 29 deletions
@@ -41,12 +41,12 @@ describe("useBrokerageEvents", () => {
{
type: "dividend",
date: "2026-09-01",
dateKind: "declared",
instrumentId: "figi-1",
dateKind: "registry",
figi: "figi-1",
instrumentUid: null,
ticker: "SBER",
displayName: "Сбер",
amount: "12.34",
currency: "RUB",
projectedAmount: { currency: "RUB", value: "12.34" },
},
],
}),
@@ -62,12 +62,12 @@ describe("useBrokerageEvents", () => {
{
type: "dividend",
date: "2026-09-01",
dateKind: "declared",
instrumentId: "figi-1",
dateKind: "registry",
figi: "figi-1",
instrumentUid: null,
ticker: "SBER",
displayName: "Сбер",
amount: "12.34",
currency: "RUB",
projectedAmount: { currency: "RUB", value: "12.34" },
},
]);
});