Automate issuer overlay creation from ticker searches
This commit is contained in:
@@ -64,6 +64,12 @@ export function buildTrendSeries(input: {
|
||||
return (input.statementRows ?? [])
|
||||
.filter((row) => row.key === 'operating_cash_flow' || row.key === 'free_cash_flow' || row.key === 'capital_expenditures')
|
||||
.map(toTrendSeriesRow);
|
||||
case 'equity_statement':
|
||||
return (input.statementRows ?? [])
|
||||
.filter((row) => row.key === 'total_equity' || row.key === 'retained_earnings' || row.key === 'common_stock_and_apic')
|
||||
.map(toTrendSeriesRow);
|
||||
case 'disclosures':
|
||||
return [];
|
||||
case 'ratios':
|
||||
return (input.ratioRows ?? [])
|
||||
.filter((row) => row.category === 'margins')
|
||||
|
||||
Reference in New Issue
Block a user