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

Debugging or 0 cost basis Feature request #1

Open
matlinski opened this issue Jan 15, 2022 · 0 comments
Open

Debugging or 0 cost basis Feature request #1

matlinski opened this issue Jan 15, 2022 · 0 comments

Comments

@matlinski
Copy link

Feature request

Debugging or 0 cost basis

Hello I'm working on a deno project and I would like to use your functions in it, but I'm working with a lot of transactions and the data is not perfect, some buys or sells are still missing and your calculateFIFOCapitalGains function just throws:

"Amount of sales for symbol exceeds the amount of buys"

Is there any way to get more info what is ammount of each symbol is missing and maybe an option to set 0 cost basis for the missing buys (This is how Koinly does it for example). I would be happy to help developping it, just give me an idea where to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant