Somehow almost all the companies are from the US in /assets/search #29
Labels
No labels
bug
documentation
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gertjan/bodega#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Examples:
symbol": "VLK.AS","name": "Van Lanschot Kempen N.V.","asset_type": "stock","currency": "USD","is_active": true,"created_at": "2026-02-13T19:05:37.901000","updated_at": "2026-03-05T01:00:05.925000","source": "fmp","previous_symbols": [],"exchange": "AMS","country": "US","full_country": "United States","symbol": "WKL.AS","name": "Wolters Kluwer N.V.","asset_type": "stock","currency": "USD","is_active": true,"created_at": "2026-02-13T19:05:37.901000","updated_at": "2026-03-05T01:00:05.925000","source": "fmp","previous_symbols": [],"exchange": "AMS","country": "US","full_country": "United States","symbol": "MBQ.DE", "name": "Mobotix AG", "asset_type": "stock", "currency": "USD", "is_active": true, "created_at": "2026-02-13T19:05:37.901000", "updated_at": "2026-03-05T01:00:05.925000", "source": "fmp", "previous_symbols": [], "exchange": "XETRA", "country": "US", "full_country": "United States",Fixed in v0.9.1
Root cause: The nightly stock_list_refresh job runs FMP's /stock/list endpoint, which lacks currency/country fields. The adapter was defaulting to 'USD'/'US' when missing, and exclude_none=True couldn't skip them because they were non-None values — overwriting correct enriched values every refresh.
Solution (commit
75cdeb2):Result: Dutch stocks like VLK.AS/WKL.AS retain country/currency after next nightly refresh.
Deployed in v0.9.1.