Closed oldgitdaddy closed 2 years ago
You can only sell what you got. This error states, that you are selling something, which you doesn't have according to your account statements OR for which now buy information exist.
e.g.
DEPOSIT 1 XMR
SELL 1 XMR FOR 1 EUR
The program can not tell, how much gain you realized, because the buying date and buying price is missing. The error gets raised. You need to add the account statement from/where you bought the 1 XMR to avoid the error.
Please share your account statements/transactions, so that we can help you narrow down the problem.
From my understanding, I started my binance account with transferring XMR and no Fiat money. The first lines of my transaction file below, which cause the error.
User_ID,UTC_Time,Account,Operation,Coin,Change,Remark
1,2021-11-10 18:02:41,Spot,Deposit,XMR,0.46683941,""
1,2021-11-10 18:06:21,Spot,Large OTC trading,XMR,-0.46683941,""
1,2021-11-10 18:06:21,Spot,Large OTC trading,USDT,113.52694140,""
Yes but when and at what price did you obtain those xmr. This Information is needed for the tax calculation
So I bought this amount on kraken and transferred it through another wallet to binance. So how should I tweak the csv to generate the report?
Change the deposit into a buy and change the Date of that to the time when you bought on Kraken.
...And remove the buy from your kraken transaction.
This is a dirty fix which you have to use right know. #4 tackles this issue.
When running src/main.py on a transaction history from Binance, I get the following error:
Background: I started my trading history in XMR, which appears to be the transaction causing this error. Any hints on this one?