Skip to main content

Python wrapper for Unofficial Avanza API

Project description

Avanza

Based on https://github.com/fhqvst/avanza

Python wrapper for Unofficial Avanza API

Code is work in progress and is only meant as "proof of concept"

Authentication is done with selenium, which will save cookies incurrent working directory.

Short example of getting the current buyprice for msft stock:

from avanza import avanza

avanza_run = avanza.Avanza()
msft = avanza_run.stock(3873)
buy_price = msft['buyPrice']
print(buy_price)
> 166.48

More examples can be found here

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

Avanza-0.0.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

Avanza-0.0.4-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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