Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction Type - RECEIVE and SPEND <Kraken REST> #235

Open
ps23Rick opened this issue Apr 11, 2024 · 4 comments
Open

Transaction Type - RECEIVE and SPEND <Kraken REST> #235

ps23Rick opened this issue Apr 11, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@ps23Rick
Copy link

I'm trying rp2 for the first time primarily with Kraken's REST api.. it initially runs and connects to Kraken without issue but when chewing on the data it coughs up two transaction types that it can't handle:

ERROR: Unsupported transaction type: receive (skipping): {'aclass': 'currency', 'amount': '<amount>', 'asset': 'LUNA', 'balance': '<balance>', 'fee': '0.00000000', 'refid': '<refid>', 'time': '1701831465.3632329', 'type': 'receive', 'subtype': ''}. Please open an issue at https://github.com/eprbell/dali-rp2/issues ERROR: Unsupported transaction type: spend (skipping): {'aclass': 'currency', 'amount': '<amount>', 'asset': 'ZUSD', 'balance': '0.0089', 'fee': '1.1100', 'refid': '<refid>', 'time': '1701831465.3632302', 'type': 'spend', 'subtype': ''}. Please open an issue at https://github.com/eprbell/dali-rp2/issues

I have swapped a few bits of information to be things like , , -- otherwise it's what was spat out on the console.

@eprbell eprbell added the help wanted Extra attention is needed label Apr 11, 2024
@eprbell
Copy link
Owner

eprbell commented Apr 11, 2024

Thanks for reporting. It looks like there's a missing bit of implementation in the Kraken plugin. I don't have a Kraken account so I can't fix it, but I marked this as "help wanted": hopefully someone with a Kraken account can step in and help out.

@ps23Rick
Copy link
Author

ps23Rick commented Apr 11, 2024 via email

@eprbell
Copy link
Owner

eprbell commented Apr 11, 2024

All pointers to get started are here: #1. You can open a PR and start working there: we'll review it. Feel free to ask questions if anything is unclear.

CC: @ndopencode, who worked on the plugin.

@ps23Rick
Copy link
Author

So, just to add a little background to this issue. I was able to review my transactions via the Kraken website, looking for the RECEIVE and SPEND transaction types.

I was able to find them and there's exactly 1 of each for my entire set of transaction history..

I was not able to find the API docs discussing these API responses and reached out to Kraken support. Below is what I got back from them. Maybe it will be helpful to others looking into the Kraken API...

Instant buys are represented in Ledgers export as spend and receive types. These transactions are distinguished separately from trades, and do not appear in your trades history. Instead, instant purchases can be found within your Ledger history.

These transactions can also be queried via the Ledgers API endpoint

Please see this support article, How to interpret Ledger history fields for more information on other possible parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants