This is a live market depth dashboard using 5paisa trading APIs and Next.js.
Create a env.json
by duplicating example.env.json
and filling with your own values.
cp example.env.json env.json
pnpm i
pnpm prepareData
This fetches the master CSV from 5paisa and creates an SQLite DB for faster data lookups. You need to run this every morning, to have the latest data in your DB.
pnpx prisma generate
This needs to be done once (or everytime the DB schema is changed)
pnpm dev