All Projects → CNugteren → DGPC

CNugteren / DGPC

Licence: MIT License
DGPC: DeGiro Performance Charts

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DGPC

degiro-trading-tracker
Simplified tracking of your investments
Stars: ✭ 16 (+23.08%)
Mutual labels:  stocks, degiro
AlphaVantageAPI
An Opinionated AlphaVantage API Wrapper in Python 3.9. Compatible with Pandas TA (pip install pandas_ta). Get your FREE API Key at https://www.alphavantage.co/support/
Stars: ✭ 77 (+492.31%)
Mutual labels:  stocks
1broker-client
Complete node.js client for 1Broker API, open sourced by @telebroker_bot for Telegram!
Stars: ✭ 19 (+46.15%)
Mutual labels:  stocks
evolving
A free stock trading interface for CH stock-market. MacOS下控制同花顺进行交易, 无券商限制.
Stars: ✭ 32 (+146.15%)
Mutual labels:  stocks
Finance-Robinhood
Trade stocks and ETFs with free brokerage Robinhood and Perl
Stars: ✭ 42 (+223.08%)
Mutual labels:  stocks
twitch-stocks
A web platform that allows you to invest in Twitch streamers with imaginary points.
Stars: ✭ 17 (+30.77%)
Mutual labels:  stocks
intrinio-realtime-python-sdk
Intrinio Python SDK for Real-Time Stock Prices
Stars: ✭ 79 (+507.69%)
Mutual labels:  stocks
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (+15.38%)
Mutual labels:  stocks
sse-option-crawler
SSE 50 index options crawler 上证50期权数据爬虫
Stars: ✭ 17 (+30.77%)
Mutual labels:  stocks
AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+1646.15%)
Mutual labels:  stocks
degiro
Very basic unofficial Python API for DeGiro
Stars: ✭ 50 (+284.62%)
Mutual labels:  degiro
ark invest
daily report of @ARKInvest ETF activity + data collection
Stars: ✭ 25 (+92.31%)
Mutual labels:  stocks
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (+161.54%)
Mutual labels:  stocks
alpaca
A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
Stars: ✭ 100 (+669.23%)
Mutual labels:  stocks
stocktwits-sentiment
Stocktwits market sentiment analysis in Python with Keras and TensorFlow.
Stars: ✭ 23 (+76.92%)
Mutual labels:  stocks
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (+253.85%)
Mutual labels:  stocks
stockscore
A python project to fetch stock financials/statistics and perform preliminary screens to aid in the stock selection process
Stars: ✭ 54 (+315.38%)
Mutual labels:  stocks
investbook
Оценка эффективности инвестиций с учетом комиссий, налогов (удержанных и ожидающихся), дивидендов и купонов.
Stars: ✭ 83 (+538.46%)
Mutual labels:  stocks
bitbot
Simple python app to drive Pimoroni e-ink displays with finance candle charts
Stars: ✭ 22 (+69.23%)
Mutual labels:  stocks
stock-news-sentiment-analysis
This program uses Vader SentimentIntensityAnalyzer to calculate the news headline overall sentiment for a stock
Stars: ✭ 21 (+61.54%)
Mutual labels:  stocks

DGPC: DeGiro Performance Charts

DGPC is a small and simple utility that parses CSV-exports from DeGiro and creates portfolio performance charts, such as the following:

Example DGPC output graph

The tool displays:

  • In green, the total value of the DeGiro account, including current stock prices, dividend, fees, cash, etc. This is the sum of the cash balance (in red, see below) and the current value of stock/ETF (not shown).
  • In magenta, the total nominal account value: money transferred in to the DeGiro account, not taking into account losses or profits.
  • In red, the cash balance: cash on the DeGiro account plus optional 'bank cash' if money is transferred out. Note that if cash is booked in and invested as stocks on the same day, it will not show up in the graph.
  • In orange, a benchmark (default IWDA ETF) assuming all invested money was invested in this instead at time of availability.
  • In blue, the same benchmark, but now assuming all available money was invested on day 0.

DGPC is not meant for professional usage and makes many assumptions, can't parse all CSV data (yet), and probably also makes a few mistakes and simplifications here and there. So use it at own risk, feel free to make a pull request to improve the tool.

Stock, ETF, and currency data is queried using the investpy package, based on data from Investing.com.

Requirements

For running the tool itself:

  • Python 3.7 or newer
  • Several Python packages, run pip3 install -r requirements.txt to install

For running the tests and linters, you also need pytest, mypy, and pylint.

Usage

First you'll need to get an Account.csv file:

  • Log in to your DeGiro account
  • Go to Overzichten -> Rekeningoverzicht
  • Select the full date range and select Export

Now you can run the tool as follows:

python3 dgpc.py --input_file /path/to/Account.csv

It will output the graph as dgpc.png in your current folder. For more options and configurations, run:

python3 dgpc.py --help

Current options available in the tool:

  -i INPUT_FILE, --input_file INPUT_FILE
                        Location of DeGiro account CSV file (default: None)
  -p OUTPUT_PNG, --output_png OUTPUT_PNG
                        Path for output PNG image (default: dgpc.png)
  -c OUTPUT_CSV, --output_csv OUTPUT_CSV
                        Path for output CSV file (default: dgpc.csv)
  -e END_DATE, --end_date END_DATE
                        End date for plotting, as DD-MM-YYYY (default: 2020-05-03)
  -s START_DATE, --start_date START_DATE
                        Start date for plotting, as DD-MM-YYYY (default: 2000-01-01)
  -r REFERENCE_ISIN, --reference_isin REFERENCE_ISIN
                        ISIN to plot as reference, by default this is set to IWDA (default: IE00B4L5Y983)
  -y PNG_HEIGHT_PIXELS, --png_height_pixels PNG_HEIGHT_PIXELS
                        Height of image in pixels, width is determined with the standard 16:9 aspect ratio (default: 1080)
  --plot_hide_eur_values
                        Hides absolute EUR values in the plot, e.g. for privacy reasons (default: False)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].