Giter Club home page Giter Club logo

Comments (9)

geldmacher avatar geldmacher commented on June 29, 2024

@m91michel Bitte! =) Beteilige dich gerne an der Weiterentwicklung. Bin offen für gute PR's.

Regarding the issue:

  1. I don't know the "Swapped in" operation yet. What do i need to do to have this kind of data in my Cake export?

  2. I will add a better error log, good idea! The error is strange. Do you see why the date from Cake is wrong? Never had this error before ...

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

@m91michel Please have a loook at https://github.com/geldmacher/Cake-to-CoinTracking-Converter/releases/tag/v3.2.0

Is the reference id in the new error table the same as in your issue report? I do not get an error message when i integrate this line in my export data.

from cake-to-cointracking-converter.

m91michel avatar m91michel commented on June 29, 2024
  1. It looks better now. The unknown entries are skipped and the log message is better.
    Screenshot 2021-05-13 at 09 08 27

I swapped ETH to DFI, but the csv output only shows the DFI amount. I think we can use "Ein- / Auszahlung" here. I would then merge these to manually as the ETH transaction is in the ETH export.
image
image

  1. I think the issue was related to a new line at the end of the file, which was added by VS Code. I adjusted my settings and then its gone. The error is also better now as the script skips this line and creates an report. 👍
    image

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

But a swap is more a trade in this case. Or am I wrong. You exchanged ETH for DFI, right? Is there a reference ID in one of the two data rows that points to the other?

BTW: You don't need to import each coin seperatly anymore. It's even better to import them combined, because this is the only way to handle the liquidity pool operations correctly.

from cake-to-cointracking-converter.

m91michel avatar m91michel commented on June 29, 2024

You are right! I thought it would be hard to match these two row and forgot the reference id. Here a example:

"2020-12-09T19:21:20+01:00","Swapped out","-0.099224827933251654","ETH","-47.001704711068800046367664","EUR","","","a7e746a5-ec47-a4aa-b1ba-0ca62614e90e","f2d94b3a-e89e-4a80-8888-320617e3a1e3"
"2020-12-09T19:21:20+01:00","Swapped in","111","DFI","41.96580777774","EUR","","","ffc510c0-8ffe-aaaa-be16-c3556ad2e9a2","f2d94b3a-e89e-4a80-8888-320617e3a1e3"

I tried one coin in the first place, but my imported csv was a combined one. :)

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

Ok, your data sample is strange. The last column should represent the 'Related reference ID'. This should point to a data row where the 'Reference ID' equals this ID. But in your sample none of the two rows has the reference ID 'f2d94b3a-e89e-4a80-8888-320617e3a1e3'. Is there something missing? Might be a bug in the Cake export or they are using the related reference ID in the swap operation differently.

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

@m91michel I made a swap for myself now. Nothing wrong with your sample. Cake is just using this data diffrently in this case. =)

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

@m91michel Have a look at https://github.com/geldmacher/Cake-to-CoinTracking-Converter/releases/tag/v3.3.0 and give me some feedback please. =)

from cake-to-cointracking-converter.

geldmacher avatar geldmacher commented on June 29, 2024

Should work now.

from cake-to-cointracking-converter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.