Compare commits
No commits in common. "4b424a2cf5b37c11d5b4e304798b8ae35a4b59cc" and "dfeb3a329462870b5258eb612edab6e8cf5d771e" have entirely different histories.
4b424a2cf5
...
dfeb3a3294
35
README.md
35
README.md
|
@ -6,32 +6,19 @@
|
||||||
|
|
||||||
Python library for automatic fetching of personal asset depo information.
|
Python library for automatic fetching of personal asset depo information.
|
||||||
|
|
||||||
## Supported services
|
Supports:
|
||||||
|
|
||||||
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
|
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
|
||||||
(`KrakenDepoFetcher`): Uses their [publicly documented
|
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
|
||||||
API](https://docs.kraken.com/rest/). This provides the same data as the
|
- **Partisia Blockchain Account**: Uses a reader node to check the account
|
||||||
homepage.
|
state.
|
||||||
|
- **Nordnet**: Through 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.
|
||||||
|
|
||||||
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
|
## TODO
|
||||||
(`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 with
|
|
||||||
implementing this functionality. Exposes the same data as the home page.
|
|
||||||
|
|
||||||
## Future extension
|
|
||||||
|
|
||||||
- [ ] Investment Bank: Saxo Bank OpenAPI
|
- [ ] Investment Bank: Saxo Bank OpenAPI
|
||||||
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
||||||
|
|
|
@ -2,32 +2,19 @@
|
||||||
|
|
||||||
Python library for automatic fetching of personal asset depo information.
|
Python library for automatic fetching of personal asset depo information.
|
||||||
|
|
||||||
## Supported services
|
Supports:
|
||||||
|
|
||||||
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
|
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
|
||||||
(`KrakenDepoFetcher`): Uses their [publicly documented
|
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
|
||||||
API](https://docs.kraken.com/rest/). This provides the same data as the
|
- **Partisia Blockchain Account**: Uses a reader node to check the account
|
||||||
homepage.
|
state.
|
||||||
|
- **Nordnet**: Through 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.
|
||||||
|
|
||||||
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
|
## TODO
|
||||||
(`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 with
|
|
||||||
implementing this functionality. Exposes the same data as the home page.
|
|
||||||
|
|
||||||
## Future extension
|
|
||||||
|
|
||||||
- [ ] Investment Bank: Saxo Bank OpenAPI
|
- [ ] Investment Bank: Saxo Bank OpenAPI
|
||||||
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.23'
|
__version__ = '0.1.22'
|
||||||
|
|
35
setup.py
35
setup.py
|
@ -15,32 +15,19 @@ PACKAGE_DESCRIPTION = """
|
||||||
|
|
||||||
Python library for automatic fetching of personal asset depo information.
|
Python library for automatic fetching of personal asset depo information.
|
||||||
|
|
||||||
## Supported services
|
Supports:
|
||||||
|
|
||||||
[**Kraken**](https://www.kraken.com/) crypto-currency exchange
|
- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
|
||||||
(`KrakenDepoFetcher`): Uses their [publicly documented
|
- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
|
||||||
API](https://docs.kraken.com/rest/). This provides the same data as the
|
- **Partisia Blockchain Account**: Uses a reader node to check the account
|
||||||
homepage.
|
state.
|
||||||
|
- **Nordnet**: Through 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.
|
||||||
|
|
||||||
[**Kucoin**](https://www.kucoin.com/) crypto-currency exchange
|
## TODO
|
||||||
(`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 with
|
|
||||||
implementing this functionality. Exposes the same data as the home page.
|
|
||||||
|
|
||||||
## Future extension
|
|
||||||
|
|
||||||
- [ ] Investment Bank: Saxo Bank OpenAPI
|
- [ ] Investment Bank: Saxo Bank OpenAPI
|
||||||
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA?
|
||||||
|
|
|
@ -59,9 +59,7 @@ def test_place_buy_side_order():
|
||||||
input_amount = Decimal('0.1')
|
input_amount = Decimal('0.1')
|
||||||
|
|
||||||
order_details = fetcher.place_market_order(
|
order_details = fetcher.place_market_order(
|
||||||
fin_defs.USDT,
|
fin_defs.USDT, input_amount, fin_defs.MPC,
|
||||||
input_amount,
|
|
||||||
fin_defs.MPC,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
assert order_details is not None
|
assert order_details is not None
|
||||||
|
@ -93,9 +91,7 @@ def test_place_sell_side_order():
|
||||||
input_amount = Decimal('1')
|
input_amount = Decimal('1')
|
||||||
|
|
||||||
order_details = fetcher.place_market_order(
|
order_details = fetcher.place_market_order(
|
||||||
fin_defs.MPC,
|
fin_defs.MPC, input_amount, fin_defs.USDT,
|
||||||
input_amount,
|
|
||||||
fin_defs.USDT,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
assert order_details is not None
|
assert order_details is not None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user