Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a free open source tool to track Nancy Pelosi's official stock trade reports

说明与用途

一个轻量级 Python 脚本自动下载、解析并过滤 Nancy Pelosi 的股票交易报告,输出当前 PDF 链接列表,无需外部依赖。

问题

The public stock trade reports for Nancy Pelosi are scattered across yearly ZIP files and PDFs, making them hard to search.

结果

The script provides a current, searchable list of Pelosi’s PTR filings without requiring API keys or external dependencies.

工作流

  • Download https://disclosures-clerk.house.gov/public_disc/financial-pdfs/{year}FD.zip
  • Parse the XML and keep rows where FilingType == "P" and the name matches
  • Build the link to the original PDF: .../ptr-pdfs/{year}/{doc_id}.pdf
  • Output results in markdown or JSON
  • GitHub Actions runs the script every Monday and commits updated FILINGS.md

证据

The data is public, but it is spread over yearly index files and PDFs that are hard to search.

来源

Under the STOCK Act (2012), members of Congress must report stock trades above $1,000 within 45 days.

来源

The Clerk offers one ZIP file per year with an XML index of every filing.

来源

No API key, no dependencies, Python 3.8 or newer. Standard library only (urllib, zipfile, xml.etree).

来源

A GitHub Actions workflow runs the script every Monday and commits the fresh FILINGS.md, so the list in the repo stays current without anyone touching it.

来源

  • 记录日期: 2026-11-02T15:28:47.534Z