Full sync - all projects, memory, configs
This commit is contained in:
@ -144,9 +144,13 @@ def scan_ticker(ticker):
|
||||
week52_high = info.get("fiftyTwoWeekHigh", current_price)
|
||||
pct_from_high = ((week52_high - current_price) / week52_high) * 100 if week52_high else 0
|
||||
|
||||
# Get sector information
|
||||
sector = info.get("sector", "Unknown")
|
||||
|
||||
return {
|
||||
"ticker": ticker,
|
||||
"price": round(current_price, 2),
|
||||
"sector": sector,
|
||||
"market_cap": market_cap,
|
||||
"market_cap_b": round(market_cap / 1e9, 1),
|
||||
"trailing_pe": round(trailing_pe, 2),
|
||||
|
||||
Reference in New Issue
Block a user