Getting started
Installation
Requires Python 3.11+.Your first script
Fetch five years of ENGRO historical prices:Caching
psxdata caches all data to~/.psxdata/cache/ using parquet format. Historical data (before today) never expires. Today’s rows refresh every 15 minutes.
To bypass the cache:
Next steps
- Historical stock prices guide — full walkthrough with pandas analysis
- Stock screener guide — filter all listed stocks
- API reference — complete function signatures and parameters