-
Notifications
You must be signed in to change notification settings - Fork 45
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
Unsupported transaction types "spend" and "receive" (Kraken) as well as RP2RuntimeError: Internal error: both 'crypto_fee' and 'fiat_fee' are defined #256
Comments
CC: @ndopencode, who worked on the Kraken plugin. If you have deadline coming up soon, I suggest you hire a professional or try with another tool: it's unlikely that this bug in the DaLI Kraken plugin will be fixed in a few days, given that DaLI is an open-source, volunteer-driven effort. The reason there is no Kraken CSV plugin is that nobody worked on it yet. |
Yea I know. And setting aside my own misery, I wanted to give you big props for getting something like this rolling and visible in the community in the first place. Documentation and versatility and ease of use all still have potential left, but it sure is something at least to have an open source effort and not just all those "minimum 12 months of sub for a one time tax report" ripoff crypto "accounting" sites that take zero responsibility for getting paid nutty sums. Thank you for your time and effort. I am currently seeing what I can do to manually churn through the core data and at which point I hit a road block. So far estimates of being "off" with manual labour put me well below even a single billable hour for a real tax office employee, and the sheer mountain of manual checkup one has to do is nuts. Today was 5 hours to figure out 17 bucks profit from forced crypto sales for fees and negative outcome margin trades. I'll see how it goes. Will watch the project closely as next year will surely come around soon enough.. |
Thanks and good luck! |
I have a similar issue with Kraken except it does not appear fatal, however, no output is generated.
|
The exit with no output could be due to the Historic-Crypto library calling exit: see https://github.com/David-Woroniuk/Historic_Crypto/blob/main/HistoricalData.py#L150. I think @macanudo527 was working on dropping it because it no longer works. Can you try using a different price converter? The Kraken plugin seems to be broken: we need somebody with a Kraken account to contribute fixes for it. |
Hi,
of course I am trying out rp2 5 days ahead of the tax filing deadline and nothing works at all.
Having installed Python, rp2 and dali-rp2 correctly (after an additional 4+ gigabyte MS VC install, sigh), I have configured the config.ini like so:
and then set the two variables for generic country to be EUR and 365 and fired up
dali_generic -s -o oututfile -p testme config.ini
It ran for AN HOUR and then gave me this:
The receive/spend is simply a manual conversion / trade inside of Kraken; me selling accidentally gained USD (I was a moron and traded BTCUSD instead of BTCEUR) back to EUR. This btw is also a taxable event (same logic for FX and crypto - profit or loss is relevant within 365 days according to FIFO) and I don't know whether rp2 accounts for it. I mean it already does not recognize it as is, but I meant like if it could I do not know if thats already coded in.
As for the runtime error:
Since I am using the Kraken API, its clearly not me doing the "setting two fees at once" thing wrong. I saw there was something vaguely like this in #89 but that seems to be a manual CSV import.
Either the Kraken API Plugin did not account for this or rp2 is being too pedantic as it says in the other issue or what, but other than the error log, it did not even provide me a minimal output file AT ALL, which means I still after all of today's efforts have nothing to feed to rp2.
I do not understand why there is not simply an offline Kraken csv import supported, as almost every other portfolio tracker uses the full ledger CSV export from Kraken as well and it already was brought up in #122 over a year ago.
I can spend another day just trying to "hack in" a custom configuration into the input mapper, but if everything still just ends up crashing I will simply end up past the tax filing deadline with no functionality.
So, to maybe ask the very most important question of all: I am only even going to rp2, because my other tool did not account for margin trading fees being paid in crypto fees, which leads to a potential "profit on conversion" risk . It is humanly impossible to figure out whether those conversions, thanks to FIFO and a lot of transactions, may or not have incurred profits versus the ususal 365 day holding period window.
Does rp2 even look up and do crypto conversions that occur as fees for Kraken? I ask because they are tagged / reported completely differently in margin trading as opposed to actual normal spot crypto sales and its a frickin' nightmare. Same with trades that end up creating nonpromary FX conversions (here: creating a USD balance, which would be in tax view a purchase of a foreign FX, USD, which is then later sold at a possible profit if conversion rates say so, within 365 days).
Sorry to likely create the worst issue report in human history, but I'm the depressed kind of person and the thought of looking at a criminal law penalty for a basically not reliably manually solvable issue is nervewracking - and paying a tax accountant a thousand bucks just to be really really sure I didn't make a hidden 50 EUR profit in the total fee conversions of 2023 would be insane.
The text was updated successfully, but these errors were encountered: