v1.0.2
Bug Fix – Top ETFs / Top US Stocks sensors unavailable
Problem: Top ETFs and Top US Stocks sensors remained unavailable after initial setup and never showed data.
Root cause: The Danelfin API requires at least one of ticker or date for every /ranking request. The previous code only auto-injected the current date for the European market (market=europe). Requests for Top ETFs and Top US Stocks (market us, no ticker, no date) were sent without either required parameter, causing an HTTP 400 error from the API.
Fix: The latest available weekday date is now automatically added to all ranking requests that have no ticker specified, regardless of market.