TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jbms/finance-dl/llms.txt
Use this file to discover all available pages before exploring further.
finance_dl.stockplanconnect scraper downloads PDF documents — including restricted stock unit release confirmations, trade confirmations, and tax documents — from stockplanconnect.com, Morgan Stanley’s equity compensation platform. It uses Selenium and ChromeDriver to navigate the site, enumerate all available documents, and save each one locally as a PDF file with a structured filename.
Configuration Parameters
A dict containing your StockPlanConnect login credentials.
Path to the local directory where downloaded PDF documents will be saved. The directory will be created if it does not exist.
Must be set to
False. This scraper does not work correctly in headless mode. See the warning below.Path to a persistent Chrome browser profile directory. Using a dedicated persistent profile lets Chrome remember session cookies and can reduce how often you need to complete login steps. Must not refer to your normal browser profile.
Output Format
Each document is saved tooutput_directory with a filename that encodes the document date, category, document type, and document name:
.2) is appended to distinguish them:
If you need to manually download documents and place them in the output directory, follow the same numbering scheme: the first document for a given date, type, and name has no numeric suffix; the second gets
.2; the third gets .3; and so on.pdftotext utility, and are designed to be consumed by beancount-import importers.
Configuration Example
Interactive Shell
To run the StockPlanConnect scraper from the interactive shell:output_directory.