PSX Research Lab.

A Pakistan Stock Exchange research platform in development, focused on reproducible collection, data integrity, and a foundation for historical analysis.

Work in Progress

MY ROLE
Personal project · Development
STACK
Python / React / Typescript / Workers / D1 & Kv
STATUS
Work in Progress
SOURCE
GitHub ↗
PSX Research Lab architecture sketch
Architecture sketch based on the repository. This is not a production screenshot or live market data.

Better research starts with trustworthy data.

Historical market research depends on knowing where observations came from, whether a source is stale, and whether repeated collection can produce a trustworthy record. The intended audience is people exploring Pakistan Stock Exchange data and reproducible research workflows.

What exists in the code.

The repository has a Python collector with source adapters, a market calendar, request budgets, concurrency coordination, quality checks, and durable archive verification. Cloudflare Worker API code and shared TypeScript data contracts are present. The React market interface is currently a scaffold with placeholder values, not a live market-data terminal.

The engineering questions.

Track provenance before drawing conclusions.

The collector records observations and validates data before archival. Integrity manifests and readback verification are part of the implementation.

Bound collection and fail clearly.

Request budgets, circuit breakers, and explicit failure states keep collection constrained. Private raw-data storage is kept separate from the public application code.

Keep planned analytics distinct from implemented foundations.

Hosted serving, interactive charts, deterministic browser-side backtesting, and Gemini-assisted research are later roadmap stages. They are not presented here as operational services.

Still in development.

The complete research and backtesting experience is not operational. Hosted end-to-end serving, the analytical UI, strategy testing, and conversational research remain pending. Data licensing, provenance, and access restrictions must be respected before any future public data service.

Read the public source ↗

Got something in mind?

Let’s make
something useful.

↗
mahad.imran555@gmail.com

Based in DFW. Open to internships,
freelance work, and engineering opportunities.