Tarazu

Contents

I wanted a simple way to find stocks that have grown over different periods: the last 7 days, 1 month, 3 months, 6 months, and 1 year. I follow three markets: NSE (India), ASX (Australia), and NASDAQ (US).

Tarazu has two parts:

  1. A data pipeline that fetches stock prices every day and publishes them as SQLite databases.
  2. A Flutter app that reads a database and shows the stocks that grew in each period.

The data pipeline

  • Prices come from Yahoo Finance.
  • The pipeline runs on AWS. Each day, an EventBridge schedule starts one ECS Fargate task per market.
  • Each task fetches the prices, screens the stocks, and writes a SQLite database. That gives three databases, one for each market, which the tasks upload to S3.
  • When a new database lands in S3, a Lambda function reads it and emails me a summary.

Code: https://github.com/ryandam9/stocks-public

Architecture of the stocks pipeline on AWS
Architecture of the stocks pipeline on AWS

The app

For now, the app supports NSE only. It downloads the latest database from S3, and you can refresh it at any time. The screenshots below are from the Linux build.

Code: https://github.com/ryandam9/Tarazu

Explore

Pick a period (7D, 1M, 3M, 6M, or 1Y) to see the stocks that grew in that period, sorted by return. Select a stock to see its price chart and its returns in the other periods.

Explore screen showing the top 7-day gainers on NSE
Explore screen showing the top 7-day gainers on NSE

Saved stocks

Bookmark a stock to keep it in a short list.

Saved stocks screen with one bookmarked stock
Saved stocks screen with one bookmarked stock

Two designs

The app has two designs: Signal (midnight navy and electric blue) and Folio (warm ivory with a serif font). The app remembers your choice.

Narrow windows

In a narrow window, the layout changes to a single column with a bottom navigation bar. The stock detail page also shows more data about the selected period, such as the number of price observations and the median volume.

← Everything I've written