Skip to content

Python project to transform a csv file from XTB into a csv file that can be used for a divtracker app.

Notifications You must be signed in to change notification settings

Fearplay/xtb-csv-for-divtracker-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xtb-csv-for-divtracker-app

Python project to transform a csv file from XTB into a csv file that can be used for a divtracker app.

Index

Screenshot

  1. In Xstation5 click on History > Cash operations

screenshot

  1. Choose Date Range

screenshot

  1. Check Stocks/ETF purchase and Stocks/ETF sale only

screenshot

  1. Click Export button and choose Cash Operations > CSV and then click Export Report

screenshot

Requirements

  • install pip install -r requirements.txt

General

  • simplifying the process of converting a csv file

Usage

  1. In terminal: python -i {xtb_csv_path} -o {output_csv_path}
  2. The output csv file can be imported to Transactions in the app

Resources

ToDo

  • Add your own path to file and output file
  • Add function for sold Stocks/ETF
  • Add to csv file Stocks/ETF traded only on the US stock exchange for a better app experience
  • Add function to merge csv files from Trading212 and XTB so that we can import from only one csv in the app

Other

  • If you find any issue, please don't hesitate to report it via Issues
  • If you have an idea to improve this game, please don't hesitate to create pull request via Pull requests
  • Thanks to all 💚

Back to TOP

About

Python project to transform a csv file from XTB into a csv file that can be used for a divtracker app.

Topics

Resources

Stars

Watchers

Forks

Languages