degiropy
Unofficial Degiro API in Python
Getting Started
Installing
pipenv --python 3
pipenv install requests
pipenv install degiropy
Usage
from degiropy import Degiropy
from degiropy.types import Actions, OrderTypes, TimeTypes, ProductTypes, Sort
degiro = Degiropy(username, password, verbose=True)
# Initialization
degiro.login()
degiro.get_config()
degiro.init_url_config()
degiro.init_data()
# Usage examples
cf = degiro.get_cash_funds()
print(cf['EUR']['value']) # prints EUR amount
degiro.get_portfolio_summary() # returns object with `equity` and `cash` properties
degiro.get_portfolio(False) # Returns portfolio skipping historical data
order = {} # Fill order data
degiro.place_order(order) # Places an order
Development
python setup.py build
python setup.py install
License
Metadata
Release files for degiropy 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| degiropy-0.1.2.tar.gz | 4.7 kB | Details |
Release files / degiropy-0.1.2.tar.gz
| Download URL | degiropy-0.1.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7432aece14483f29e381f75322cf955c4ebac077557b1a55196fd3f7f4df620a
|
|
BLAKE2b-256 checksum How to use checksums |
cf3cd77a7d8f504cc70da0d2dd98585a119cf4f0fd699bd789c8cc8c4c34ef8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|