Skip to content

melvinkokxw/syfe_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syfe Parser

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.

Usage

Basic logs

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

Detailed logs

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

About

Parser for Syfe transactions

Topics

Resources

Stars

Watchers

Forks

Languages