Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

9.4 KB
Raw Blame
import { PortfolioPosition } from '@ghostfolio/common/interfaces';

export const holdings: PortfolioPosition[] = [
  {
    activitiesCount: 1,
    allocationInPercentage: 0.06447799495516787,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'STOCK',
      assetSubClassLabel: 'Stock',
      countries: [
        {
          code: 'US',
          continent: 'North America',
          name: 'United States',
          weight: 1
        }
      ],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Apple Inc',
      sectors: [
        {
          name: 'Technology',
          weight: 1
        }
      ],
      symbol: 'AAPL',
      url: 'https://www.apple.com'
    },
    dateOfFirstActivity: new Date('2021-12-01T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 3856,
    grossPerformancePercent: 0.46047289228564603,
    grossPerformancePercentWithCurrencyEffect: 0.46047289228564603,
    grossPerformanceWithCurrencyEffect: 3856,
    investment: 8374,
    marketPrice: 244.6,
    netPerformance: 3855,
    netPerformancePercent: 0.460353475041796,
    netPerformancePercentWithCurrencyEffect: 0.036440677966101696,
    netPerformanceWithCurrencyEffect: 430,
    quantity: 50,
    tags: [],
    valueInBaseCurrency: 12230
  },
  {
    activitiesCount: 2,
    allocationInPercentage: 0.03565651141834935,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'STOCK',
      assetSubClassLabel: 'Stock',
      countries: [
        {
          code: 'DE',
          continent: 'Europe',
          name: 'Germany',
          weight: 1
        }
      ],
      currency: 'EUR',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Allianz SE',
      sectors: [
        {
          name: 'Financial Services',
          weight: 1
        }
      ],
      symbol: 'ALV.DE',
      url: 'https://www.allianz.com'
    },
    dateOfFirstActivity: new Date('2021-04-23T00:00:00.000Z'),
    dividend: 192,
    grossPerformance: 2226.700251889169,
    grossPerformancePercent: 0.49083842309827874,
    grossPerformancePercentWithCurrencyEffect: 0.29306136948826367,
    grossPerformanceWithCurrencyEffect: 1532.8272791336772,
    investment: 4536.523929471033,
    marketPrice: 322.2,
    netPerformance: 2222.2921914357685,
    netPerformancePercent: 0.48986674069961134,
    netPerformancePercentWithCurrencyEffect: 0.034489367670592026,
    netPerformanceWithCurrencyEffect: 225.48257403052068,
    quantity: 20,
    tags: [],
    valueInBaseCurrency: 6763.224181360202
  },
  {
    activitiesCount: 1,
    allocationInPercentage: 0.12056277911976934,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'STOCK',
      assetSubClassLabel: 'Stock',
      countries: [
        {
          code: 'US',
          continent: 'North America',
          name: 'United States',
          weight: 1
        }
      ],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Amazon.com, Inc.',
      sectors: [
        {
          name: 'Consumer Discretionary',
          weight: 1
        }
      ],
      symbol: 'AMZN',
      url: 'https://www.aboutamazon.com'
    },
    dateOfFirstActivity: new Date('2018-10-01T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 12758.05,
    grossPerformancePercent: 1.2619300787837724,
    grossPerformancePercentWithCurrencyEffect: 1.2619300787837724,
    grossPerformanceWithCurrencyEffect: 12758.05,
    investment: 10109.95,
    marketPrice: 228.68,
    netPerformance: 12677.26,
    netPerformancePercent: 1.253938941339967,
    netPerformancePercentWithCurrencyEffect: -0.037866008722316276,
    netPerformanceWithCurrencyEffect: -899.99926757812,
    quantity: 100,
    tags: [],
    valueInBaseCurrency: 22868
  },
  {
    activitiesCount: 1,
    allocationInPercentage: 0.28820973005222217,
    assetProfile: {
      assetClass: 'LIQUIDITY',
      assetClassLabel: 'Liquidity',
      assetSubClass: 'CRYPTOCURRENCY',
      assetSubClassLabel: 'Cryptocurrency',
      countries: [],
      currency: 'USD',
      dataSource: 'COINGECKO',
      holdings: [],
      name: 'Bitcoin',
      sectors: [],
      symbol: 'bitcoin',
      url: undefined
    },
    dateOfFirstActivity: new Date('2017-08-16T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 52666.7898248,
    grossPerformancePercent: 26.333394912400003,
    grossPerformancePercentWithCurrencyEffect: 26.333394912400003,
    grossPerformanceWithCurrencyEffect: 52666.7898248,
    investment: 1999.9999999999998,
    marketPrice: 97364,
    netPerformance: 52636.8898248,
    netPerformancePercent: 26.3184449124,
    netPerformancePercentWithCurrencyEffect: -0.04760906442310894,
    netPerformanceWithCurrencyEffect: -2732.737808972287,
    quantity: 0.5614682,
    tags: [],
    valueInBaseCurrency: 54666.7898248
  },
  {
    activitiesCount: 1,
    allocationInPercentage: 0.06459872644204223,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'STOCK',
      assetSubClassLabel: 'Stock',
      countries: [
        {
          code: 'US',
          continent: 'North America',
          name: 'United States',
          weight: 1
        }
      ],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Microsoft Corporation',
      sectors: [
        {
          name: 'Technology',
          weight: 1
        }
      ],
      symbol: 'MSFT',
      url: 'https://www.microsoft.com'
    },
    dateOfFirstActivity: new Date('2023-01-03T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 5065.5,
    grossPerformancePercent: 0.7047750229568411,
    grossPerformancePercentWithCurrencyEffect: 0.7047750229568411,
    grossPerformanceWithCurrencyEffect: 5065.5,
    investment: 7187.4,
    marketPrice: 408.43,
    netPerformance: 5065.5,
    netPerformancePercent: 0.7047750229568411,
    netPerformancePercentWithCurrencyEffect: -0.015973588391056275,
    netPerformanceWithCurrencyEffect: -198.899926757814,
    quantity: 30,
    tags: [],
    valueInBaseCurrency: 12252.9
  },
  {
    activitiesCount: 1,
    allocationInPercentage: 0.28140453464652826,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'STOCK',
      assetSubClassLabel: 'Stock',
      countries: [
        {
          code: 'US',
          continent: 'North America',
          name: 'United States',
          weight: 1
        }
      ],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Tesla, Inc.',
      sectors: [
        {
          name: 'Consumer Discretionary',
          weight: 1
        }
      ],
      symbol: 'TSLA',
      url: 'https://www.tesla.com'
    },
    dateOfFirstActivity: new Date('2017-01-03T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 51227.500000005,
    grossPerformancePercent: 23.843379101756675,
    grossPerformancePercentWithCurrencyEffect: 23.843379101756675,
    grossPerformanceWithCurrencyEffect: 51227.500000005,
    investment: 2148.499999995,
    marketPrice: 355.84,
    netPerformance: 51197.500000005,
    netPerformancePercent: 23.829415871596066,
    netPerformancePercentWithCurrencyEffect: -0.12051410125545206,
    netPerformanceWithCurrencyEffect: -7314.00091552734,
    quantity: 150,
    tags: [],
    valueInBaseCurrency: 53376
  },
  {
    activitiesCount: 5,
    allocationInPercentage: 0.0795667947557967,
    assetProfile: {
      assetClass: 'EQUITY',
      assetClassLabel: 'Equity',
      assetSubClass: 'ETF',
      assetSubClassLabel: 'ETF',
      countries: [
        {
          code: 'US',
          continent: 'North America',
          name: 'United States',
          weight: 1
        }
      ],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'Vanguard Total Stock Market Index Fund ETF Shares',
      sectors: [
        {
          name: 'Equity',
          weight: 1
        }
      ],
      symbol: 'VTI',
      url: 'https://www.vanguard.com'
    },
    dateOfFirstActivity: new Date('2019-03-01T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 6845.8,
    grossPerformancePercent: 1.0164758094605268,
    grossPerformancePercentWithCurrencyEffect: 1.0164758094605268,
    grossPerformanceWithCurrencyEffect: 6845.8,
    investment: 8246.2,
    marketPrice: 301.84,
    netPerformance: 6746.3,
    netPerformancePercent: 1.0017018833976383,
    netPerformancePercentWithCurrencyEffect: 0.01085061564051406,
    netPerformanceWithCurrencyEffect: 161.99969482422,
    quantity: 50,
    tags: [],
    valueInBaseCurrency: 15092
  },
  {
    activitiesCount: 3,
    allocationInPercentage: 0.06552292861012407,
    assetProfile: {
      assetClass: 'LIQUIDITY',
      assetClassLabel: 'Liquidity',
      assetSubClass: 'CASH',
      assetSubClassLabel: 'Cash',
      countries: [],
      currency: 'USD',
      dataSource: 'YAHOO',
      holdings: [],
      name: 'USD',
      sectors: [],
      symbol: 'USD'
    },
    dateOfFirstActivity: new Date('2024-01-01T00:00:00.000Z'),
    dividend: 0,
    grossPerformance: 0,
    grossPerformancePercent: 0,
    grossPerformancePercentWithCurrencyEffect: 0,
    grossPerformanceWithCurrencyEffect: 0,
    investment: 12428.2,
    marketPrice: 1,
    netPerformance: 0,
    netPerformancePercent: 0,
    netPerformancePercentWithCurrencyEffect: 0,
    netPerformanceWithCurrencyEffect: 0,
    quantity: 12428.2,
    tags: [],
    valueInBaseCurrency: 12428.2
  }
];