This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
This script calculates the acquisition and sell gains for RSUs (Restricted Stock Units) in EUR. | |
It fetches the acquisition and sell prices from Yahoo Finance, converts them to EUR using the currency exchange rate, | |
and calculates the gains to be declared for tax purposes. | |
Requirements: | |
- yfinance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Pylele Body | |
""" | |
import os | |
import argparse | |
import sys |