https://github.com/kooltuoehias/fi-insider
https://github.com/kooltuoehias/fi-insider
cloudflare cloudflare-pages data finance insider react sweden
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/kooltuoehias/fi-insider
- Owner: kooltuoehias
- Created: 2026-02-22T23:09:54.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-06-28T16:46:55.000Z (1 day ago)
- Last Synced: 2026-06-28T18:21:27.654Z (about 23 hours ago)
- Topics: cloudflare, cloudflare-pages, data, finance, insider, react, sweden
- Language: TypeScript
- Homepage: https://fi-insider.pages.dev/
- Size: 12.8 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# FI Insider
> Swedish insider trading monitor — tracks public filings from Finansinspektionen, graded by signal strength.
[](https://github.com/kooltuoehias/fi-insider/actions/workflows/ci.yml)
[](https://codecov.io/gh/kooltuoehias/fi-insider)
[](https://github.com/kooltuoehias/fi-insider/commits/main)



Data is scraped daily from the [FI public registry](https://marknadssok.fi.se/Publiceringsklient) and auto-deployed via Cloudflare Pages. No backend — all analysis runs client-side.
## Features
- **Signal Grading** — acquisitions ranked Table-Pounding / Conviction / Watch / Token by SEK value
- **Cluster Detection** — flags stocks where 2+ insiders buy within 30 days
- **CEO + CFO Alerts** — when both C-suite officers buy within 90 days
- **Market Segments** — Large / Mid / Small Cap via ISIN lookup with Yahoo Finance market caps
- **Backtested Tags** — Large Cap CFO buys (79.8% win rate), Huge Single (≥10M SEK), Chairman Warning (inverse signal)
- **CSV Export** — download any filtered view
## Architecture
```
fi-insider/
├── scraper/ # Node.js scraper → outputs to frontend/public/data/
├── frontend/ # React + Vite + Tailwind CSS dashboard
└── .github/ # GitHub Actions for automated daily scraping
```
**Data flow:** Scraper fetches HTML from `marknadssok.fi.se`, parses with cheerio, writes per-year JSON files. GitHub Actions runs daily at 15:45 UTC. Cloudflare Pages auto-deploys on every commit.
## Local Development
```bash
# Scraper
cd scraper && npm install && npm start
# Frontend
cd frontend && yarn install && yarn dev
# → http://localhost:6175
```
## Tests
```bash
cd frontend
yarn test # run once
yarn test:coverage # with coverage report
```