File size: 406 Bytes
9e0b833 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import psxdata
import yfinance as yf
import models as md
def debt_market():
debt = psxdata.fundamentals("EPCL")
print(debt)
def allShare():
all_share = psxdata.indices("ALLSHR")
print(all_share)
def commodities():
gold = md.commodities.get("Gold")
data = yf.download(gold, start="2025-01-01", end="2026-08-12")
print(data)
if __name__ == "__main__":
commodities()
|