Skip to content
All systems

S-03 · CASE STUDY

Data ingestion services

Scheduled ingestion and transform services that pull external data feeds into a relational store.

Bull AI · Sep 2025 to now / Software Engineer, AI & Data Platforms

Python, PostgreSQL, Docker, Cloud

TL;DR

Daily, checkpointed jobs that keep the master list of listed companies and their filing links in sync with both Indian exchanges.

01

The problem

Every downstream system depends on an accurate master list of listed companies and links to their filings. Exchange data changes daily, and some of it is only reachable through slow, paginated web pages.

02

What I built

  1. 01A daily sync that downloads the latest company data from both Indian exchanges, shows what changed and then updates the master table in a relational store.
  2. 02A headless-browser scraper that walks paginated exchange search results to collect filing links.
  3. 03Market-cap rules that decide which companies stay in coverage.
  4. 04Scheduled, containerised jobs with checkpoints, so a long run can resume instead of starting over.
03

How it works

daily 12:00exchange Aexchange Bdiffwhat changed+new -gone ~updcompanies mastercheckpointfiling linksretry, resume
04

Architecture

  1. ingest · 01
  2. transform · 02
  3. checkpoint · recoverable
  4. load · 04

with: Live feed · Batch feed · Event feed · Scheduler · Relational DB

05

Decisions that mattered

Diff before write

The sync computes and shows what changed before touching the database, so a bad upstream file is caught before it overwrites good data.

Plan for flaky pages

The scraper restarts its browser after crashes, retries failed pages and saves a screenshot of every error for debugging.

Resume after failure

Long jobs write checkpoints, so a failure picks up from the last good step.

Proprietary work. The approach and architecture are described; client data and code are not shown.