Download PSX historical stock prices with Python
psxdata returns complete OHLCV history for any PSX-listed stock in a single call.Basic usage
Date filtering
start and end accept str (ISO format), datetime.date, or None.
Compute returns
Save to CSV or Excel
Fetch multiple stocks
Bypass cache
See also
PSXClient.stocks()— full parameter reference- Stock screener guide — find which stocks to analyse