CSV Trade Categorised as Deposit

Hiya.

I’ve used Binance CSV import to get my trades in as the API didn’t seem reliable.

I’ve found that Koinly is categorising some buys as deposits. For example, it shows an AAVE deposit to Binance in Koinly but the source of the row shows a spot buy. This has happened all over. Must be a bug? Kind of unsettling. Any ideas?

Thanks!

aave-deposit|690x193

Have dug into this a bit and I think the problem is to do with Binance changing their export format to include the UserID.

Prior to 2021-02-17 rows take the form:

UTC_Time,Account,Operation,Coin,Change,Remark

After this date they include the User ID like this:

User_ID,UTC_Time,Account,Operation,Coin,Change,Remark

Possibly this is something to do with subaccount support.

1 Like

Looks like it could be something to do with the Binance CSV exports not ordering some rows correctly.

It looks like the CSV should group things into 3 rows. Eg for a buy it should be:

Buy
Sell
Fee

Some of my rows where there’s a problem are showing:

Fee
Fee
Buy

1 Like