This website requires JavaScript.
Explore
Help
Sign In
Karl
/
freetrade_stock_price
Watch
1
Star
0
Fork
0
You've already forked freetrade_stock_price
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
freetrade_stock_price
/
holdings.sample.csv
4 lines
46 B
CSV
Raw
Normal View
History
Unescape
Escape
feat: add Freetrade portfolio tracker with price fetching and holdings CSV support
2026-04-20 11:38:27 +01:00
GGP
,
GB
,
100
PAF
,
GB
,
200
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
SVM
,
US
,
50
AAPL
,
US
,
3.6185
Reference in New Issue
Copy Permalink