-
Notifications
You must be signed in to change notification settings - Fork 47
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
Migrating csv from cointracking and importing csv exported from kraken #289
Comments
There are a few problems with your approach:
|
The reason I'm not using the kraken api key approach is because of my previous transactions, which go all the way back to 2013, and are in the csv exported from cointracking.info. I guess this would create a mess because many transactions would be imported both from the cointracking csv file and from kraken api and would become duplicates (not sure if these are detected or filtered out). Also what about the cointracking csv? This contains like 11 years of transaction history, including other exchanges which are now out of business, local wallets etc. |
The manual plugin documentation explains that 3 CSV files are required (just read the first paragraph): these CSV files must be referenced in the Kraken, Cointracking or any other source of transactions, whether REST or CSV, require a DaLI data loader plugin to normalize the data in RP2 format. As for the question of how to switch from another software to RP2, check the relevant FAQ. If you're using DaLI to generate RP2 input and you have used other software in previous years, you may have to remove the transactions that have been already handled by other software from the generated RP2 input. |
Ok, but I'm still confused on what I need to do with the 2 csv files I have. Should I write a program myself to first break down each into 3 csv's (in, out, intra) and rearrange the columns for each as in the test_manual_x.csv's in https://github.com/eprbell/dali-rp2/tree/main/input ? |
You have two options:
Then DaLI will take care of everything else: normalize the data, call the transaction resolver, generate RP2 output. |
Ok, so as I understand these 2 options, the 1st option is what I was thinking of doing in my previous reply (i.e. break down each of my csv's in 3 parts and rearrange columns to match the same structure as the test_manual_x.csv's), while the 2nd option is forking dali-rp2 and write another plugin in addition to those already existing 14 plugins. Is my understanding correct? |
Yes, that's correct, with the exception that option 1 may be slightly more involved than just rearranging columns. Depending on how the native format looks like you may also need to sum, subtract or otherwise process native columns to represent the semantics of the manual CSV format. Also read the unique id FAQ. |
I was using cointracking for the last 3 years. I exported the csv from cointracking, here is a sample:
I now want to migrate from cointracking to rp2. The past year I only used kraken to trade. Here is the exported csv sample for 2024:
Since the kraken csv is much smaller, I tried to work with that first. Here is the .ini file:
However when I execute it I get the following error:
What does this error mean? From the documentation it is not clear if/how I can use exported csv's from exchanges or other sources.
The text was updated successfully, but these errors were encountered: