Skip to main content

Unofficial Degiro API in python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

degiropy-0.1.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file degiropy-0.1.2.tar.gz.

File metadata

  • Download URL: degiropy-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for degiropy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7432aece14483f29e381f75322cf955c4ebac077557b1a55196fd3f7f4df620a
MD5 8d2252fdc7d6e6e762ca38ea551f35b3
BLAKE2b-256 cf3cd77a7d8f504cc70da0d2dd98585a119cf4f0fd699bd789c8cc8c4c34ef8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page