Skip to content

A small script that fetches the current stock values from the specified endpoints in the json-file.

License

Notifications You must be signed in to change notification settings

qulle/avanza-fetcher-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avanza Fetcher

A small script that fetches the current stock values from the specified endpoints in the json-file

Screenshot

Screenshot of the program

The script was run after hours, that's why 'buy' and 'sell' columns are empty.

Note

[2022-04-15] - Avanza has updated their website thus the regex expressions now needs to be rewritten in order for the script to work.

Runtime

$ python avanza-fetcher.py urls.json

You can change the default output and pipe the result to a file

$ python avanza-fetcher.py urls.json > output.txt

External dependencies

Using package requests, install using PIP

$ pip install requests

Tested

The code have been tested on:

  • Windows 10 machine running Python 3.9.0

Author

Qulle

About

A small script that fetches the current stock values from the specified endpoints in the json-file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages