-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cryptos fail on quantity #10
Comments
I have no experience with cryptos. Is this check the only thing that breaks? Should cryptos be within a new trading group? Thanks for this feedback, Florian La Roche |
2021-09-03T20:50:34+0200,Trade,SELL_TO_CLOSE,ETH/USD,Cryptocurrency,Sold 0.2637329 ETH/USD @ 3948.01,"1,041.22",0.2637329,"3,948.01",-10.00,0.00,,,,,,,11111111 |
I believe cryptos need to be handled in their own group as far as I understand our tax system. Which I don't really :) |
The above entry seems to come from the Desktop App, right? Can you provide them from the web download, Thanks a lot, Florian La Roche |
Crypto support is merged into the current version. Since I am not using it myself, please best regards, Florian La Roche |
As cryptos are bought in fractions this check here fails.
int(quantity) != quantity
if isnan(quantity):
quantity = 1
else:
if tcode == 'Receive Deliver' and (tsubcode == 'Forward Split' or tsubcode == 'Reverse Split'):
pass # splits might have further data, not quantity
elif int(quantity) != quantity:
raise
else:
quantity = int(quantity)
The text was updated successfully, but these errors were encountered: