Overview
Performance & Analytics
The Performance & Analytics category provides a macro-overlay of the Pakistan capital markets. Instead of looking at a single stock, these endpoints allow you to query the "Pulse" of the exchange. This data is essential for building "Top Movers" sections, heatmaps, and sector-rotation strategies.
Our analytics engine pre-calculates complex market metrics, saving you thousands of database queries by delivering "ready-to-display" rankings and indicators.
Key Capabilities
- Market Momentum: Instantly identify Top Gainers, Losers, and Volume Leaders across the entire exchange or specific indices.
- Sectoral Benchmarking: Compare the relative performance of the 35+ PSX sectors to identify industry-wide trends.
- Index Contribution: Detailed breakdown of how specific heavyweights (like LUCK or ENGRO) are moving the KSE-100 index points.
- Technical Overlays: Retrieve pre-computed technical indicators like RSI and Moving Averages to power automated buy/sell signals.
Available Endpoints
| API Name | Description |
|---|---|
| Gainers & Losers | Top gaining and losing stocks in the market |
| Volume Leaders | Top stocks with the highest trading volume |
| Index Contributors | Companies contributing to index point changes |
| Index Returns | Return statistics for market indices |
| Company/Symbol Returns | Detailed return statistics for individual stocks |
| Sector Overview | Detailed overview information for a market sector |
| Sector Returns | Market cap weighted returns for a specific sector |
| Portfolio Investments (FIPI/LIPI) | Portfolio investment data for Foreign and Local Institutional Investors |
| Settlement Analysis | Settlement analysis data for equity trades |
| Off Market Transactions | Off-market transaction data |
| Margin Trade System (MTS) | Margin Trade System data including open margin positions |
| Margin Financing System (MFS) | Margin Financing System data including open position volumes |
| Latest Insider Transactions | Most recent insider trading transactions |
| Insider by Company | Insider trading transactions for a specific company |
| Insiders by Date Range | Insider trading transactions filtered by date range |
| Insiders by Type | Insider trading transactions filtered by transaction type |
| Technicals by Indicator | Technical analysis indicator data across all stocks |
| Technicals by Symbols | Comprehensive technical analysis indicators for a specific stock |