export const mockBrokerAccounts = [ { id: '2084014113', type: 'brokerage', name: 'Т-Инвестиции', status: 'open', openedAt: null, accessLevel: null, }, ] export const mockBrokerPortfolio = { account: mockBrokerAccounts[0], positionCounts: { shares: 3, bonds: 2, etf: 0, other: 0 }, totals: { shares: { currency: 'RUB', units: '240000', nano: 500000000, value: 240000.5 }, bonds: { currency: 'RUB', units: '45000', nano: 0, value: 45000 }, etf: null, currencies: null, futures: null, options: null, structuredProducts: null, dfa: null, portfolio: { currency: 'RUB', units: '285000', nano: 500000000, value: 285000.5 }, }, yields: { expectedPercent: null, daily: { currency: 'RUB', units: '1200', nano: 0, value: 1200 }, dailyPercent: null, }, cash: [{ currency: 'RUB', units: '15000', nano: 0, value: 15000 }], blockedCash: [], asOf: '2024-06-01T10:00:00Z', } export const mockBrokerPositions = [ { figi: null, instrumentUid: null, positionUid: null, ticker: 'SBER', classCode: null, instrumentType: 'share', name: 'Сбер Банк', quantity: { currency: '', units: '100', nano: 0, value: 100 }, blockedLots: null, currentPrice: { currency: 'RUB', units: '289', nano: 500000000, value: 289.5 }, currentValue: { currency: 'RUB', units: '28950', nano: 0, value: 28950 }, averagePositionPrice: null, expectedYieldPercent: null, dailyYield: null, }, { figi: null, instrumentUid: null, positionUid: null, ticker: 'VTBR', classCode: null, instrumentType: 'share', name: 'ВТБ', quantity: { currency: '', units: '5000', nano: 0, value: 5000 }, blockedLots: null, currentPrice: { currency: 'RUB', units: '0', nano: 23400000, value: 0.0234 }, currentValue: { currency: 'RUB', units: '117', nano: 0, value: 117 }, averagePositionPrice: null, expectedYieldPercent: null, dailyYield: null, }, { figi: null, instrumentUid: null, positionUid: null, ticker: 'SU26238RMFS5', classCode: null, instrumentType: 'bond', name: 'ОФЗ 26238', quantity: { currency: '', units: '10', nano: 0, value: 10 }, blockedLots: null, currentPrice: { currency: 'RUB', units: '985', nano: 0, value: 985 }, currentValue: { currency: 'RUB', units: '9850', nano: 0, value: 9850 }, averagePositionPrice: null, expectedYieldPercent: null, dailyYield: null, }, ] export const mockBrokerOperations = [ { cursor: null, accountId: '2084014113', id: 'op-1', parentOperationId: null, date: '2024-06-01T10:00:00Z', type: 'buy', category: 'trade', description: null, name: 'Покупка SBER', state: 'executed', instrumentUid: null, figi: null, ticker: 'SBER', classCode: null, instrumentType: 'share', payment: { currency: 'RUB', units: '-27500', nano: 0, value: -27500 }, price: { currency: 'RUB', units: '275', nano: 0, value: 275 }, commission: { currency: 'RUB', units: '-55', nano: 0, value: -55 }, yield: null, accruedInt: null, quantity: { currency: '', units: '100', nano: 0, value: 100 }, quantityDone: { currency: '', units: '100', nano: 0, value: 100 }, }, { cursor: null, accountId: '2084014113', id: 'op-2', parentOperationId: null, date: '2024-05-20T14:30:00Z', type: 'dividend', category: 'income', description: null, name: 'Дивиденды Сбер', state: 'executed', instrumentUid: null, figi: null, ticker: 'SBER', classCode: null, instrumentType: 'share', payment: { currency: 'RUB', units: '3500', nano: 0, value: 3500 }, price: null, commission: null, yield: null, accruedInt: null, quantity: null, quantityDone: null, }, ] export const mockBrokerEvents = [ { id: 'ev-1', type: 'dividend', source: 'forecast', category: 'cashflow', eventDate: '2024-07-10', paymentDate: null, ticker: 'SBER', name: 'Сбер Банк', instrumentUid: 'uid-sber', instrumentType: 'share', quantitySnapshot: 100, payoutPerUnit: 35, estimatedAmount: 3500, actualAmount: null, currency: 'RUB', estimateMode: 'current_position', }, { id: 'ev-2', type: 'coupon', source: 'forecast', category: 'cashflow', eventDate: '2024-07-15', paymentDate: null, ticker: 'SU26238RMFS5', name: 'ОФЗ 26238', instrumentUid: 'uid-bond', instrumentType: 'bond', quantitySnapshot: 10, payoutPerUnit: 36.9, estimatedAmount: 369, actualAmount: null, currency: 'RUB', estimateMode: 'current_position', }, ] export const mockEventsSummary = { eventCount: 2, nearestEventDate: '2024-07-10', totalEstimatedCashflow: 3869, actualCashflow: 0, forecastEstimatedCashflow: 3869, dividendsTotal: 3500, couponsTotal: 369, principalRepaymentTotal: 0, actualDividendsTotal: 0, actualCouponsTotal: 0, actualPrincipalRepaymentTotal: 0, }