Python project to transform a csv file from XTB into a csv file that can be used for a divtracker app.
- In Xstation5 click on History > Cash operations
- Choose Date Range
- Check Stocks/ETF purchase and Stocks/ETF sale only
- Click Export button and choose Cash Operations > CSV and then click Export Report
- install
pip install -r requirements.txt
- simplifying the process of converting a csv file
- In terminal:
python -i {xtb_csv_path} -o {output_csv_path}
- The output csv file can be imported to Transactions in the app
- csv file from XTB
- csv file to DivTracker
- 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
- 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 💚