1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
4b424a2cf5 🤖 Bumped version to 0.1.23
All checks were successful
Package Python / Package (push) Successful in 25s
Test Python / Test (push) Successful in 26s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-07-20 22:05:47 +02:00
45e7151d4e 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-07-20 22:05:36 +02:00
38b14eb224
More documentation 2024-07-20 22:05:12 +02:00
5 changed files with 79 additions and 36 deletions

View File

@ -6,19 +6,32 @@
Python library for automatic fetching of personal asset depo information.
Supports:
## Supported services
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
- **Partisia Blockchain Account**: Uses a reader node to check the account
state.
- **Nordnet**: Through their
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
(`KrakenDepoFetcher`): Uses their [publicly documented
API](https://docs.kraken.com/rest/). This provides the same data as the
homepage.
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
(`KucoinDepoFetcher`): Uses their [publicly documented
API](https://www.kucoin.com/docs/beginners/introduction). 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**](https://browser.partisiablockchain.com/) 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**](https://www.nordnet.dk) nordic investment bank
(`NordnetDepoFetcher`): Uses their
[API](https://www.nordnet.dk/externalapi/docs/api). Thanks to [Morten
Helmstedt](https://helmstedt.dk/) for sharing his [Nordnet
utilities](https://github.com/helmstedt/nordnet-utilities),
which helped a lot.
utilities](https://github.com/helmstedt/nordnet-utilities), which helped with
implementing this functionality. Exposes the same data as the home page.
## TODO
## Future extension
- [ ] Investment Bank: Saxo Bank OpenAPI
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?

View File

@ -2,19 +2,32 @@
Python library for automatic fetching of personal asset depo information.
Supports:
## Supported services
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
- **Partisia Blockchain Account**: Uses a reader node to check the account
state.
- **Nordnet**: Through their
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
(`KrakenDepoFetcher`): Uses their [publicly documented
API](https://docs.kraken.com/rest/). This provides the same data as the
homepage.
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
(`KucoinDepoFetcher`): Uses their [publicly documented
API](https://www.kucoin.com/docs/beginners/introduction). 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**](https://browser.partisiablockchain.com/) 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**](https://www.nordnet.dk) nordic investment bank
(`NordnetDepoFetcher`): Uses their
[API](https://www.nordnet.dk/externalapi/docs/api). Thanks to [Morten
Helmstedt](https://helmstedt.dk/) for sharing his [Nordnet
utilities](https://github.com/helmstedt/nordnet-utilities),
which helped a lot.
utilities](https://github.com/helmstedt/nordnet-utilities), which helped with
implementing this functionality. Exposes the same data as the home page.
## TODO
## Future extension
- [ ] Investment Bank: Saxo Bank OpenAPI
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?

View File

@ -1 +1 @@
__version__ = '0.1.22'
__version__ = '0.1.23'

View File

@ -15,19 +15,32 @@ PACKAGE_DESCRIPTION = """
Python library for automatic fetching of personal asset depo information.
Supports:
## Supported services
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
- **Partisia Blockchain Account**: Uses a reader node to check the account
state.
- **Nordnet**: Through their
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
(`KrakenDepoFetcher`): Uses their [publicly documented
API](https://docs.kraken.com/rest/). This provides the same data as the
homepage.
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
(`KucoinDepoFetcher`): Uses their [publicly documented
API](https://www.kucoin.com/docs/beginners/introduction). 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**](https://browser.partisiablockchain.com/) 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**](https://www.nordnet.dk) nordic investment bank
(`NordnetDepoFetcher`): Uses their
[API](https://www.nordnet.dk/externalapi/docs/api). Thanks to [Morten
Helmstedt](https://helmstedt.dk/) for sharing his [Nordnet
utilities](https://github.com/helmstedt/nordnet-utilities),
which helped a lot.
utilities](https://github.com/helmstedt/nordnet-utilities), which helped with
implementing this functionality. Exposes the same data as the home page.
## TODO
## Future extension
- [ ] Investment Bank: Saxo Bank OpenAPI
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?

View File

@ -59,7 +59,9 @@ def test_place_buy_side_order():
input_amount = Decimal('0.1')
order_details = fetcher.place_market_order(
fin_defs.USDT, input_amount, fin_defs.MPC,
fin_defs.USDT,
input_amount,
fin_defs.MPC,
)
assert order_details is not None
@ -91,7 +93,9 @@ def test_place_sell_side_order():
input_amount = Decimal('1')
order_details = fetcher.place_market_order(
fin_defs.MPC, input_amount, fin_defs.USDT,
fin_defs.MPC,
input_amount,
fin_defs.USDT,
)
assert order_details is not None