Skip to main content

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

BSD 2

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)

Source distribution for degiropy 0.1.2
File Size Uploaded Provenance Actions
degiropy-0.1.2.tar.gz 4.7 kB Without provenance Details for degiropy-0.1.2.tar.gz

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

Security for degiropy 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page