Skip to main content

Download PSX historical stock prices with Python

psxdata returns complete OHLCV history for any PSX-listed stock in a single call.

Basic usage

Output:

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