- Convert to a CSV with standardized values
- Pull history for those symbols via Massive (Dividends, EOD Values)
- Store data in a mysql or sqlite database for querying
Collab via pull request welcome but this is ultimately something I tinker with for fun with so reliability is iffy.
Run.php is an example of how to use the classes in classes/
This is simply a library of classes to extract data, its not meant to be used as a complete program.
Main Positions Page -> Download Positions
Main Positions Page -> All Brokerage Accounts -> Download Positions
Holdings -> Download Center -> A spreadsheet-compatible CSV File / All Accounts
PHP 8.4.11 (cli) (built: Jan 7 2026 08:44:00) (NTS)
Massive.com API Key in .env (note, unpaid rate limit is low so its not ideal for anything outside of personal use as a batch job, just stick to importing if you don't intend to collect historical data)
apt update
apt install php-curl -y