Spaces:
Running
Running
Commit History
try to fix data fetching issue
d31b817
Optimize data fetching: remove date range query and per-agent DB queries for better performance
4050e19
Fix agent end_date: query DB for latest date per agent to ensure accuracy
4258b89
Fix dateBounds: always read dates directly from Supabase using UTC to avoid timezone issues
65ab199
Fix dateBounds update: remove early pagination stop and add periodic dateBounds refresh
2447a78
Fix end_date calculation: ensure dateBounds.max uses latest DB date and fix allDates generation with UTC
a69c83a
Improve data fetching: track max date and auto-fetch missing pages
9addaf2
Fix cache staleness: auto-refresh when DB has newer data than cache
46cdc7a
Add comprehensive debug logs to trace data flow and find where last trading day is lost
33cd679
Fix date normalization and add debug logs for missing last trading day issue
b978dde
Fix data fetching: order by date instead of updated_at to ensure latest dates are included
a6e26a7
add: Feature
5fa7a59
Jimin Huang
commited on