/5paisa-live-ticker

A live market depth dashboard using 5paisa trading APIs and Next.js

Primary LanguageTypeScriptMIT LicenseMIT

5paisa-live-ticker

This is a live market depth dashboard using 5paisa trading APIs and Next.js.

5paisa-live-ticker

Get started

Setup env

Create a env.json by duplicating example.env.json and filling with your own values.

cp example.env.json env.json

Install dependencies

pnpm i

Create scrip master database

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.

Setup prisma

pnpx prisma generate

This needs to be done once (or everytime the DB schema is changed)

Start the server

pnpm dev

Related

Contact

License

MIT © 2023 Anurag Roy