diff --git a/api/routers/__pycache__/__init__.cpython-311.pyc b/api/routers/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..32b5abb Binary files /dev/null and b/api/routers/__pycache__/__init__.cpython-311.pyc differ diff --git a/api/routers/__pycache__/health.cpython-311.pyc b/api/routers/__pycache__/health.cpython-311.pyc new file mode 100644 index 0000000..0e858e6 Binary files /dev/null and b/api/routers/__pycache__/health.cpython-311.pyc differ diff --git a/api/routers/__pycache__/indices.cpython-311.pyc b/api/routers/__pycache__/indices.cpython-311.pyc new file mode 100644 index 0000000..03859dd Binary files /dev/null and b/api/routers/__pycache__/indices.cpython-311.pyc differ diff --git a/api/routers/__pycache__/market.cpython-311.pyc b/api/routers/__pycache__/market.cpython-311.pyc new file mode 100644 index 0000000..ae59654 Binary files /dev/null and b/api/routers/__pycache__/market.cpython-311.pyc differ diff --git a/api/routers/__pycache__/screener.cpython-311.pyc b/api/routers/__pycache__/screener.cpython-311.pyc new file mode 100644 index 0000000..47e6bd1 Binary files /dev/null and b/api/routers/__pycache__/screener.cpython-311.pyc differ diff --git a/api/routers/__pycache__/sectors.cpython-311.pyc b/api/routers/__pycache__/sectors.cpython-311.pyc new file mode 100644 index 0000000..0eb8123 Binary files /dev/null and b/api/routers/__pycache__/sectors.cpython-311.pyc differ diff --git a/api/routers/__pycache__/stocks.cpython-311.pyc b/api/routers/__pycache__/stocks.cpython-311.pyc new file mode 100644 index 0000000..5c188a3 Binary files /dev/null and b/api/routers/__pycache__/stocks.cpython-311.pyc differ diff --git a/test.py b/test.py new file mode 100644 index 0000000..884ed5a --- /dev/null +++ b/test.py @@ -0,0 +1,22 @@ +import psxdata + +# Historical OHLCV data +df = psxdata.stocks("ENGRO", start="2024-01-01", end="2024-12-31") + +# All listed tickers +all_tickers = psxdata.tickers() + +# KSE-100 index constituents +kse100 = psxdata.indices("KSE100") + +# Live quote +q = psxdata.quote("LUCK") + +# Sector summary +sectors = psxdata.sectors() + +# Debt market instruments +debt = psxdata.debt_market() + +# Margin-eligible stocks +scrips = psxdata.eligible_scrips() \ No newline at end of file