Skip to content

Helper to parse the buy/sell transactions in a FIFO manner to help with yearly Irish CGT payments

Notifications You must be signed in to change notification settings

Kimi450/trading-212-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trading 212 Parser

This parser should parse the buy/sell transactions from history files exported from Trading 212 to output the yearly Irish CGT liability (best effort/close enough basis) using the FIFO method to calculate profits.

NOTE: I take no responsibilty if this does not calculate your taxes correctly. Always consult a tax advisor for legal matters.

Running

  • Populate the ./configs/config.json file with a map of Year to Path of the history file exported from Trading 212
  • Run go run cmd/main.go -config configs/config.json
  • Run go run cmd/main.go --help for usage

The output text will show you your expected tax liability for all the years.

About

Helper to parse the buy/sell transactions in a FIFO manner to help with yearly Irish CGT payments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages