freetrade_stock_price/holdings.sample.csv
Karl Hudgell f971708c5e refactor(price): enhance currency handling with FX conversion and cache support
- Add `get_fx_rate()` function with caching to fetch foreign exchange rates from open.er-api.com
- Introduce `get_currency()` helper to map market codes to currency identifiers
- Update price parsing regex to support multiple currency symbols (£, $, €)
- Convert shares to float to accommodate fractional holdings
- Add currency, fx_rate, and total_value_gbp fields to output JSON
- Support fractional share counts (e.g., 3.6185 AAPL shares)
2026-04-20 11:48:15 +01:00

46 B

1GGPGB100
2PAFGB200
3SVMUS50
4AAPLUS3.6185