A deal tracker for Coherent and AAOI that quotes every claim verbatim
A daily pipeline over filings, newsrooms, trade press and Chinese exchange disclosures, with a hand-curated layer of deals re-checked against its sources on every run.
- Documents at first build
- 13,297 from 20 sources
- Curated records
- 149, every quote found verbatim
- Refresh
- Daily report, weekly trends
- Python
- SQLite
- pandas
This is a commercial-intelligence database for two US makers of optical components for data centres: Coherent and Applied Optoelectronics (AAOI). It collects primary sources about them and their customers, suppliers and competitors, pulls out commercial events such as contracts, design wins and capacity changes, and writes a daily and a weekly report. The question behind it: how much can be established about these companies’ deals from public documents alone, with every claim tied to its evidence?
How it works #
- Collection. SEC filings for both companies since 2016 and for 14 peers and DSP-chip vendors since 2021, plus SEC full-text search, XBRL financial data, company newsrooms, trade-press feeds, Texas construction-project filings for new fabs, federal awards, patents and the exchange disclosures of nine Chinese competitors. Every request checks robots.txt and per-host rate limits, and every raw response is stored with a checksum. Sources that block scripts or rule out automated access, such as the big newswires, LinkedIn and paywalled research, are listed with the reason and never requested.
- Extraction. A gazetteer recognises companies, technologies and products, with date windows and guards: “coherent optics” is not the company, and Finisar folds into Coherent after the merger. Twenty sentence-level rules tag events. Boilerplate and risk-factor lists are filtered out, and a sentence already seen in an earlier document counts for less, so a press release mirrored in an 8-K is not news twice.
- Scoring. Each event gets a 0–100 materiality score from the source’s tier, the type of event, the named counterparty and any stated dollar value relative to the company’s revenue. It is a ranking, not a forecast.
- Curated layer. Deals, relationships, facilities, capacity statements, launches and industry developments are written by hand as records with verbatim quotes. Every quote is checked against the stored source text on each run, and any change creates a new version. An undisclosed customer is never named as fact: an identification is a separate record marked “inferred”, with its corroboration and a confidence level.
- Monitoring. A scheduled job runs every morning. It collects new documents, re-verifies the curated layer, writes the reports and raises alerts for material items first seen since the previous run.
What it found #
The first build, on 12 November 2026, held 13,297 documents from 20 sources and 149 curated records, all of which passed verification. Some of what it documented:
- One customer, two suppliers, one day. NVIDIA signed near-identical multi-year purchase agreements with Coherent and Lumentum on the same day in March 2026, each with a $2bn investment. Coherent rose 15.4% against a flat S&P 500 that day, so the deal was not expected.
- An undisclosed customer, by arithmetic. Revenue linked to Amazon’s warrant was 26.4% of AAOI’s revenue in the first nine months of 2026, matching the 26% the 10-Q gives for AAOI’s second-largest customer. That makes Amazon very likely customer number two. It is an inference from matching numbers and is stored as one.
- A disclosure in someone else’s filing. Coherent’s prepayment for indium-phosphide substrate capacity appears in its supplier AXT’s filing, not in Coherent’s own.
- Filings that disagree with themselves. Two of AAOI’s 10-Ks each give two different figures for Microsoft’s share of revenue; the 2021 report says both 14.1% and 25.6%. The customer-concentration parser reconciles these sentences across filings and flags the conflict instead of silently picking one.
Limits #
- The rule-based extraction aims for recall, so an event needs reading before it is relied on.
- No consensus estimates are connected. The stock’s reaction around a disclosure stands in for “was it expected”, and that reaction mixes in everything else released that day.
- Coherent does not file its customer or supply agreements as exhibits, so their terms are known only from press releases and 10-K summaries.
- History is uneven. Coherent’s newsroom sitemap starts in December 2020, and most trade press is complete only from the start of collection.
How it’s built #
Python with SQLite, using WAL mode and FTS5 full-text search with BM25 ranking, plus requests, BeautifulSoup and pypdf for retrieval and text extraction. A command-line tool covers search, events, deals, company profiles, customer-concentration history and announcement-day returns, and exports plain CSV and Excel files. Twenty unit tests run without network access.