Skip to content

Python script for summarizing profit/loss statement from LHV web bank

Notifications You must be signed in to change notification settings

SiimMelles/lhv-profit-loss-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lhv-profit-loss-summarizer

LHV online bank lists all realized profits by individual trade transactions. This makes it difficult to get a profit/loss summary for each stock symbol. This script can be used to summarize the realized profit/loss report as well as dividends received.

Prerequisites

Before running the script make sure you have downloaded the PrettyTable module:

python -m pip install -U prettytable

Using the script

  • Export your statement for the necessary period in .csv format and drop into project root directory.
  • Run the script, and you have yourself a summary of the report!

Example output:

Example of the output

About

Python script for summarizing profit/loss statement from LHV web bank

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages