fin-depo (0.1.43)

Published 2024-11-28 20:15:15 +00:00 by Jmaa in Jmaa/fin-depo

Installation

pip install --index-url  fin-depo

About this package

Python library for programmatic download of asset position information from

Financial Depository Fetchers.

Python library for programmatic download of asset position information from personal depository accounts.

This library is a core part of my personal financial applications, as it allows me to monitor my investments on financial markets and web3 investments.

A lot can be said (mostly negative) about web3, but at least they are serious about API access, which the modern banking system is not great at providing. Even in The European Union, where GDPR is law and OpenBanking is a requirement, it is hugely difficult for ordinary people to access and control their own personal financial information.

This is a library; if you want a simple program for downloading the information exposed by one of the supported services, try my personal-data-fetchers program.

Supported websites/services

  • Kraken crypto-currency exchange (KrakenDepoFetcher): Uses their publicly documented API. This provides the same data as the homepage.
  • Kucoin crypto-currency exchange (KucoinDepoFetcher): Uses their publicly documented API. This provides the same data as is available on the Assets Overview Page. This fetcher also allows for placing market orders, but be careful with this functionality.
  • Partisia Blockchain wallet balances (PartisiaBlockchainAccountDepoFetcher): Uses a public reader node to check the account state. This is the same data as can be found in the Partisia Browser Assets page.
  • Nordnet nordic investment bank (NordnetDepoFetcher): Uses their API. Thanks to Morten Helmstedt for sharing his Nordnet utilities, which helped with implementing this functionality. Exposes the same data as the home page.

Future extension

  • Investment Bank: Saxo Bank OpenAPI
  • Personal Bank: Personal Bank Account (Open Banking).
    • Maybe using Enable Banking? They seem to allow developers to access their own accounts in a sort of half production half demo environment.
    • AIIA is also a possiblity?
  • Partisia Blockchain: Implement sharding routing correctly.
  • Depository history: Allow users to query both the state of their deposity in the past, and to allow them to query the transactions.
    • Most backends only support listing the transactions themselves, so the depository history needs to be computed backwards from these.

Requirements

Requires Python: >=3.9
Details
PyPI
2024-11-28 20:15:15 +00:00
12
Jon Michael Aanes
29 KiB
Assets (2)
Versions (29) View all
0.1.49 2024-12-22
0.1.48 2024-12-11
0.1.47 2024-12-02
0.1.46 2024-12-02
0.1.45 2024-11-28