Our role: our founding engineer worked on this as part of the client's wider product team. Client details are kept confidential.
Integrating with a stock exchange is not a standard API project. The data volumes are high, the latency requirements are strict, the compliance obligations are significant, and the cost of a bug is measured in real money. It was a technically demanding project.
The client needed a web-based platform that gave their users — a mix of institutional and retail investors — real-time access to market data, portfolio performance, and trade history, all integrated directly with the national exchange's data feeds.
The Data Pipeline
Live market data arrives as a continuous stream of price ticks — thousands of updates per second during active trading hours. A WebSocket-based pipeline ingests the raw feed, normalises it, fans it out to subscribed client sessions, and persists it to a time-series optimised PostgreSQL schema for historical queries.
- Real-time price feed ingestion and normalisation from exchange APIs
- WebSocket push to client dashboards — low-latency updates from exchange tick to screen
- Portfolio valuation engine: live P&L, cost basis, unrealised gains computed in real time
- Trade history with full audit trail — every order, execution, and amendment logged immutably
- Regulatory reporting exports in the required exchange-specified formats
- Role-based access control: retail user view vs. institutional dashboard vs. admin oversight
Compliance Architecture
Every trade event is written to an append-only audit log before any other processing occurs. The log is tamper-evident: each entry includes a hash of the previous entry, making any retroactive modification detectable. This was a hard requirement from the exchange's compliance team.
The Result
The platform went live and handles live market sessions in production.