Screen PSX stocks with Python
psxdata gives you three screening tools:tickers() to list symbols by index, quote()
to get current price and sector data for a single symbol, and screener() to pull the
entire PSX screener table in one call.
List all KSE-100 tickers
List all PSX symbols
Get a live quote
Get the full screener table in one call
Usescreener() when you want every PSX-listed symbol at once, unfiltered — no
per-symbol looping required:
Screener data refreshes every 15 minutes. psxdata caches the full screener
and serves all subsequent
quote() and screener() calls from that same
cache — so screening the whole market still costs only one network request.See also
tickers()— parameter referencequote()— parameter referencescreener()— parameter reference- Historical data guide — download prices for screened stocks