Portfolio tracking and bank account monitoring utilities written in F#.
Portfolio tracking tool that calculates the current value of your investment holdings.
Features:
- Reads portfolio holdings from JSON
- Fetches real-time quotes from Yahoo Finance
- Calculates portfolio value in USD and EUR
- Shows price changes and percentage movements
Usage:
dotnet run --project Tracker -- portfolio.jsonJSON Format:
[
{
"Symbol": "AAPL",
"Quantity": 10.5
},
{
"Symbol": "MSFT",
"Quantity": 5.25
},
{
"Symbol": "USD",
"Quantity": 1000.00
}
]Bank account monitoring tool that retrieves recent transactions from Fio Bank using a read-only token.
Features:
- Fetches last 2 days of transactions from Fio Bank
- Displays account balance and IBAN
- Shows transaction details (date, amount, comment)
- Supports multiple accounts
Usage:
dotnet run --project Account -- accounts.jsonJSON Format:
[
{
"token": "your-fio-readonly-token-here"
},
{
"token": "another-account-token"
}
]Getting a Fio Bank Token:
- Log in to Fio internet banking
- Navigate to Settings → API
- Generate a read-only token
- Copy the token to your JSON file
Shared library containing:
Portfolio.fs- Portfolio data structures, quote fetching, formattingCurrentAccount.fs- Fio Bank API client and transaction handling
dotnet builddotnet test