BittyTax / BittyTax

Crypto-currency tax calculator with support for all popular wallets, exchanges, explorers and migration from other crypto tax platforms
GNU Affero General Public License v3.0
408 stars 111 forks source link

Please add Crypto.com Exchange parser #66

Open njwedwards opened 3 years ago

njwedwards commented 3 years ago

The format is as follows:

account_type,order_id,trade_id,create_time_utc,symbol,side,liquditiy_indicator,traded_price,traded_quantity,fee,fee_currency
SPOT,1038993879336470371,1038993954853985121,2020-12-24 09:13:52.801,ETH_USDT,BUY,MAKER,584.14,0.01711,0.00001711,ETH
SPOT,1039001110145862019,1039003008124075074,2020-12-24 09:18:22.609,ETH_CRO,BUY,MAKER,10608.0,0.07,0.742567,CRO

There is also a staking format:

create_time_utc,stake_currency,stake_amount,apr,interest_currency,interest_amount,status
2020-12-21 00:00:00.000,CRO,5000.00000000,10.00%,CRO,1.36986301,1
2020-12-22 00:00:00.000,CRO,5000.00000000,10.00%,CRO,1.36986301,1

Thanks!

njwedwards commented 3 years ago
account_type,order_id,trade_id,create_time_utc,symbol,side,liquditiy_indicator,traded_price,traded_quantity,fee,fee_currency
SPOT,1193235182173578467,1193235182513361350,2021-02-15 14:06:19.593,CRO_USDT,SELL,TAKER,0.08575,77.795,0.01067347,USDT
beirut-boop commented 3 years ago

@njwedwards The "Syndicate History" is not exportable as csv but it's required to make this possible. Please ask customer support to implement an export of data for this. They have been ignoring requests for a year. Be explicit in how important this is to you, and make sure the support employee relays this request to the relevant team.

In the meantime you can copy the data from the various XmlHttpRequest on the exchange developer inspect panel and save/combine these as json arrays if you know what you are doing. For details as to how to convert this to csv, see: https://github.com/BittyTax/BittyTax/pull/101#issue-612918441

nanonano commented 1 year ago

Just catching up on old issues, does anyone still require this? If so please can you share an example of the current CSV file.

beirut-boop commented 1 year ago

The Crypto.com CSV is the most complex one I have seen. I think a Crypto.com user needs to implement this on their own, or share quite a long auditable example CSV, which is a privacy concern.

I would leave this open as a feature request in the meantime.