Giter Club home page Giter Club logo

Comments (13)

dickwolff avatar dickwolff commented on August 17, 2024 1

Thanks for the request and the sample CSV. I will try and work on it this weekend and get back to you!

from export-to-ghostfolio.

huub66 avatar huub66 commented on August 17, 2024 1

Thanks for following up on this, conversion is now running smooth! Output file however is generated incorrectly, the timestamp of the conversion time is used for all activities while it should be the timestamp per activity from the csv file.

from export-to-ghostfolio.

huub66 avatar huub66 commented on August 17, 2024 1

Thanks!
Will create some instructions tomorrow.

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

I still have to add test coverage, but here is a first draft of the BUX converter for you to try. Can you test this and let me know if everything works as expected?

Also, can you provide me with the export instructions so I can add them to the readme? Please check the current export instructions in the readme if you need inspiration 😅. Thanks!

from export-to-ghostfolio.

huub66 avatar huub66 commented on August 17, 2024

Not yet successful in conversion, see below command and result;

docker run --rm -v /ghostfolio-export/in-folder:/var/tmp/e2g-input -v /ghostfolio-export/out-folder:/var/tmp/e2g-output --env GHOSTFOLIO_ACCOUNT_ID=e1c71dd6-5726-44de-a143-0cf0e6ba3d73 dickwolff/export-to-ghostfolio:0.14.0-beta

> [email protected] watch
> tsx ./src/watcher.ts

[i] Watching /var/tmp/e2g-input..
[i] Found ._bux_transaction_history.csv!
[i] Determined the file type to be of kind 'bux'.
[i] Starting Export to Ghostfolio v0.14.0
[i] Found bux_transaction_history.csv!
[i] Determined the file type to be of kind 'bux'.
[i] Starting Export to Ghostfolio v0.14.0
[i] Restored 0 ISIN-symbol pairs and 0 symbols from cache..
[i] Processing file using Bux converter
[i] Restored 0 ISIN-symbol pairs and 0 symbols from cache..
[i] Processing file using Bux converter
[e] An error ocurred while processing.
[e] Error details: Error: An error ocurred while parsing!
[e] Moving file to output..
[i] Stop container as usePolling is set to false..

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

Hmm, that error message is not really helpful. I’ll need to improve that.

The error occurs when parsing the file. Something with either the headers or the contents. Will try and add some more detailed logging so you can try again. I will get back to you and let you know when the logging is added.

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

I have added more logging in the converter (was separate PR but merged the changes).

Can you pull the 0.14.0-beta image and try again so the CSV parse issue will show? Thanks!

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

While adding tests I found there was an issue with the yahoo-finance2 dependency. I have updated the dependency and now it seems to work again. I have pushed a new version of 0.14.0-beta to Docker Hub.

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

I see the timestamp mapping did not read the correct value. I have fixed that now and the sample export converts with corresponding timestamps! A new 0.14.0-beta is now available!

from export-to-ghostfolio.

huub66 avatar huub66 commented on August 17, 2024

Works!

One suggestion though; would it be possible to name platform related fees an interest as "Bux Interest" or "Bux Fee". In the current ways these cost are generated with a string as name which looks quite confusing in the UI. Not sure if ghostfolio is offering a better way to prevent this, being new to that application as well :)

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

Great suggestion, I've added this just now.

Can you help me with the export instructions, so I can put them in de README file? Thanks a lot!

from export-to-ghostfolio.

huub66 avatar huub66 commented on August 17, 2024

Noticed you had created some instructions already, just a small remark; you can retrieve transaction history 3x per day instead 3x per month. Herewith some screens to support your instructions;

1170-2314-max

1170-2092-max

from export-to-ghostfolio.

dickwolff avatar dickwolff commented on August 17, 2024

Yes, i took them from the BUX support website. I thought I read there is was 3 times per month. Will change that, thanks for the tip!

from export-to-ghostfolio.

Related Issues (20)

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.