Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.76 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.76 KB

wikifolio-api

A Python API-Wrapper for the unofficial wikifolio API

Usage

  • Clone this repo
  • Install dependecies with pip install -r requirements.txt
  • Create a new file inside it with the following content (the wikifolio-ID is the name of your wikifolio, e.g. "wf000igb03")
  • Very important suggestion for everbody using this package! Don't overdo the API calls. The wikifolio team is not stupid, make pauses/delays between EVERY api action, for example a few seconds. Otherwise it is likely that your IP or account gets blocked. Don't abuse this package to "make a full copy" of the wikifolios on your machine. Only use what you really need!
from wikifolio import Wikifolio

wf = Wikifolio("email", "password", "wikifolioID")
print(wf.performance_ever)

Current state of functionality

  • tested on a wikifolio which is (not yet) investible [19.02.2023], all things except buy_quote/sell_quote succesfully tested. For my purpose limit (and stop-limit) orders are sufficient.
  • tested on a wikifolio which is investible [03.08.2023]: Wikifolio has changed some structured data. Fixed things (hopefully all), tested some. I need to write some tests to be sure that everything works as expected if this happens more often.

Features

  • Perfomance Indicators (wf.performance_since_emission, wf.performance_ever, ...)
  • Properties (see #2)
  • Buy and Sell orders (limit order and quote order)

TODOs

  • 2FA (implemented, but needs testing). Somebody with an approved wikifolio account should test and report if and how 2FA works (as reported in the issues, real investing/trading requires 2FA)
  • provide some Jupyter notebooks to demonstrate proper use of the key features (or any other form of documentation)