Logo
Explore Help
Sign In
Karl/freetrade_stock_price
1
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

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
Powered by Gitea Version: 1.23.7 Page: 20ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API