Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
import { PortfolioPosition } from '@ghostfolio/common/interfaces';
import { ScriptableContext } from 'chart.js';
import { TreemapDataPoint } from 'chartjs-chart-treemap';
export interface GetColorParams {
annualizedNetPerformancePercent: number;
negativeNetPerformancePercentsRange: { max: number; min: number };
positiveNetPerformancePercentsRange: { max: number; min: number };
}
export type GfTreemapDataPoint = TreemapDataPoint & {
_data: PortfolioPosition;
};
export type GfTreemapScriptableContext = ScriptableContext<'treemap'> & {
raw: TreemapDataPoint;
};