-
Notifications
You must be signed in to change notification settings - Fork 47
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
Does this take crypto intra transfer fees into account? #9
Comments
Thanks for the question. Transfer fees affect the in/out lot relationships and RP2 does keep track of them: check the "Investment Expenses" tab of the tax_report_us output for a collection of all transfer fees. However you also need to consider buy and sell fees, which are used when RP2 computes cost basis and gain/loss: for more on this check issue 6 . Hope this helps! Let me know if you have more questions. |
Thank you. That's amazing. How do you manage the computation flow? I sort of understand on bucketing the buys according to cost basis and then taking out from those buckets when selling, but with account for intra transfers, how does that work? For example:
How do you trace the flow of that 1ETH@100 + intra transaction costs vs the 1ETH@120 + instra transaction costs |
RP2 fractions lots and pairs in/out lot fractions, according to the user-selected accounting method (FIFO and LIFO). Regarding the example you gave, rather than using English, which can be imprecise, I think it would be best for you to model the scenario you have in mind using RP2 and then post results here with any questions and comments. That way we can focus more productively on specific concerns in a precise scenario. A few suggestions to model the scenario above with RP2:
I also recommend reading the Running section of the documentation, which contains pointers to examples and to file formats. |
Thank you, I will check the examples more. |
Hi, sorry if this is described somewhere. Does this library calculate crypto intra transfer fees into account? Say I do these:
Would the cost basis would be 0.9 ETH for $100 or 1 ETH for $100?
The text was updated successfully, but these errors were encountered: