A wrapper for the De Giro API to fetch portfolio data
Project description
depyro :money_with_wings:
A wrapper for De Giro API, specifically for portfolio analysis. If you have ETFs in your portfolio, use in conjunction with pyholdings to discover ETF compositions.
Get started
- Set
usernameandpasswordas environment variables or in an.envfile in the root of your project. - Instantiate the client and fetch portfolio information.
from depyro.core import Depyro
client = Depyro(auth_type="2fa")
>>> Enter authenticator token...
client.get_portfolio_info()
>>>
[
{
id: int,
positionType: str,
size: int,
price: float,
value: float,
plBase: float,
breakEvenPrice: float,
name: str,
isin: str,
symbol: str,
productType: str
},
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
depyro-1.0.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file depyro-1.0.0.tar.gz.
File metadata
- Download URL: depyro-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8508966a947353351d017ecccdd2c5fdea93509c453a995d9087acef3440b84a
|
|
| MD5 |
a42251b67d0867c18e86c3389e057021
|
|
| BLAKE2b-256 |
c810ff0863aa800f5adb0264cc4a10ca9ab7ade744ce470d7dec807172191906
|
File details
Details for the file depyro-1.0.0-py3-none-any.whl.
File metadata
- Download URL: depyro-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8470c2949a7f5461a27814648b4b94b1cd4927d4c498948c306158cc43e471d3
|
|
| MD5 |
828128be603770141a28ec64020a4478
|
|
| BLAKE2b-256 |
0e2c1ec82c0f38b566ce7d5af85acfa244daa3461c959fc12fe5220a6c92f65e
|