Stock Prediction, ChatGPT, Stock Analysis, Data Science, Programming.
f"https://financialmodelingprep.com/api/v3/balance-sheet-statement/{ticker}?apikey={api_key}" response = requests.get(url) data = response.json()[0] liabilities = data["totalLiabilities"] equity = data["totalEquity"] assets = data["totalAssets"] debt = data["totalDebt"] current_ratio =