Dev.to WebDev 🛠 Dev 👁 0

Server-rendering a page per stock from a daily snapshot

I built Ebitta, a free daily stock screener for NSE and BSE, and this is how its pages get served. Everything starts after each market close. A Python batch job runs inside a Cloudflare container and computes the day's

I built Ebitta, a free daily stock screener for NSE and BSE, and this is how its pages get served.

Everything starts after each market close. A Python batch job runs inside a Cloudflare container and computes the day's screens: fresh and near breakouts on daily and weekly timeframes, new-listing breakouts, momentum leaders over one week to one year, 52-week highs, delivery-percentage accumulation, and Confluence, which lists stocks that appear in more than one screen.

The batch writes one snapshot into R2 object storage. A Cloudflare Worker then server-renders every page from that snapshot: a page per stock, sector pages, and a page per screen.

After each publish, the site pings IndexNow to notify search engines about the updated URLs.

You can see the result here: https://ebitta.com/confluence?utm_source=devto&utm_medium=community&utm_campaign=launch

Not investment advice; I'm not SEBI-registered.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.