A parser for Syfe transactions, specifically for Syfe REIT+ portfolio. Output format is intended for importing into StocksCafe.
Contains two parser scripts, one for basic logs and one for detailed logs.
- Basic log parser (adapted from KPO's Syfe parser) only requires copying and pasting from Syfe's website, but Syfe's practice of rounding off transactions to 2 decimal places causes inconsistences e.g. appearing to still own small amount of stock despite having sold them all off.
- Detailed log parser requires a more detailed transaction history (up to 5 d.p.) that can be obtained by contacting Syfe's support.
Follow KPO's instructions here to get basic logs (i.e. copying transactions from Syfe's site). More detailed instructions can also be found here.
Place transactions.txt
in the same folder as syfe_parser.py
Install pandas
python3 -m pip install pandas -U
To run parser
python3 syfe_parser.py
To get detailed logs, drop Syfe's support a message requesting for detailed transaction history. Once file is obtained, rename file to transactions.xlsx
. Place transactions.xlsx
in the same folder as detailed_syfe_parser.py
Install required packages
python3 -m pip install pandas openpyxl -U
To run parser
python3 detailed_syfe_parser.py