Spaces:
Sleeping
Sleeping
File size: 494 Bytes
a2cbcac | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from src.finance_tools import check_financial_health
print("\n--- 🕵️♂️ PRIMOGREEDY V2 TEST (Solvency + Valuation) ---\n")
# Test List:
# NVDA = Might fail (Expensive)
# AMC = Should fail (Bad Debt)
# KO (Coca Cola) = Should pass (Safe)
# PLTR (Palantir) = Might fail (Expensive)
tickers = ["NVDA", "AMC", "KO", "PLTR"]
for t in tickers:
result = check_financial_health(t)
icon = "✅" if result['status'] == "PASS" else "❌"
print(f"{icon} {t}: {result['reason']}") |