Financial Analysis Logic
When comparing quarterly 13F holdings (Q2 vs Q3), follow these steps:
- Accession Number Retrieval: Locate the submission metadata for the target firm in both quarterly folders. The
COVERPAGE.tsvorSUBMISSION.tsvusually links the manager name to an accession number. - Holdings Data Loading:
INFOTABLE.tsvcontains the granular list of stocks held by the manager for that specific submission/accession.- Merge these tables using 'CUSIP' as the primary key.
- Change Calculation:
- Calculate value change:
delta_value = (Q3_value_held - Q2_value_held). - Sort by
delta_valueto identify increased/decreased investments.
- Calculate value change:
- CUSIP Identification: Always normalize CUSIP strings before comparison.