Automate issuer overlay creation from ticker searches
This commit is contained in:
@@ -3,7 +3,7 @@ import type {
|
||||
FinancialUnit
|
||||
} from '@/lib/types';
|
||||
|
||||
export type IndustryTemplate =
|
||||
type IndustryTemplate =
|
||||
| 'internet_platforms'
|
||||
| 'software_saas'
|
||||
| 'semiconductors_industrial_auto';
|
||||
@@ -80,7 +80,7 @@ const KPI_REGISTRY: RegistryBundle = {
|
||||
tickerDefinitions: {}
|
||||
};
|
||||
|
||||
export function getTickerIndustryTemplate(ticker: string): IndustryTemplate | null {
|
||||
function getTickerIndustryTemplate(ticker: string): IndustryTemplate | null {
|
||||
return KPI_REGISTRY.tickerTemplates[ticker.trim().toUpperCase()] ?? null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user