Comments (16)
Gotcha!
I will work something out later this week and get back to you so you can do some testing!
from export-to-ghostfolio.
You're awesome!
from export-to-ghostfolio.
I've added the readme and merged the PR! Thanks for your help!
from export-to-ghostfolio.
Thanks for creating this issue. I appreciate the detailed description!
Are trades and dividends always exported seperately (so not both in the same file?)
from export-to-ghostfolio.
You could combine them to the same file, but it would just copy the content of the second file below the first one. With new headers, etc...
from export-to-ghostfolio.
This might also help figuring stuff out, this program syncs ghostfolio with IBKR maybe u can take a look and see how they do it? Appreciate your work so far!
https://github.com/agusalex/ghostfolio-sync
Also ghostfolio seems to have an example here what a format from IBKR should look like so ghostfolio can support it.
https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok-vti-buy-on-ibkr.csv
from export-to-ghostfolio.
I have created an initial version the IBKR converter. You can clone it for local running here and run with npm run start ibkr
, or pull this Docker image (0.7.0-beta).
One thing I found was that the SELL orders you provided as an example don't have an ISIN. So they can't be matched to a security. Is this an error with your export, or don't they ever have an ISIN? �
from export-to-ghostfolio.
Great, thank you!
- Importing Buyworks fine.
- Importing Dividends works also fine. But, do you really want to add the description to the record?
- Importing Withholding Tax did not work. Is this intended?
One thing I found was that the SELL orders you provided as an example don't have an ISIN
There are no SELL orders in my report, I've never sold something...
The SELL orders you see without ISIN are just currency exchanges from CHF to USD.
Real SELL orders should look the same and also have an ISIN I think...
from export-to-ghostfolio.
This might also help figuring stuff out, this program syncs ghostfolio with IBKR maybe u can take a look and see how they do it? Appreciate your work so far!
https://github.com/agusalex/ghostfolio-sync
Also ghostfolio seems to have an example here what a format from IBKR should look like so ghostfolio can support it.
https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok-vti-buy-on-ibkr.csv
Wow, it seems like Ghostfolio has native support for importing IBKR BUY/SELL Orders.
Works for me, I guess...
And Dividends can be auto-imported... So the only thing missing is the Withholding Tax.
from export-to-ghostfolio.
Importing Buyworks fine.
Great!
Importing Dividends works also fine. But, do you really want to add the description to the record?
I have done this for all converters as far as I recall, so I also did it here. This way you have the original reference (if present).
Importing Withholding Tax did not work. Is this intended?
There was one dividend in your example that is being processed without fees (0).
This is not working for you?
The SELL orders you see without ISIN are just currency exchanges from CHF to USD.
Ah, that would be an interpretation error on my side. Thanks for clarifying!
Wow, it seems like Ghostfolio has native support for importing IBKR BUY/SELL Orders.
I did not know this. Great that Thomas has this support built in.
from export-to-ghostfolio.
There was one dividend in your example that is being processed without fees (0).
I was talking about the Withholding Tax
line:
"Withholding Tax","20230913","CH0111762537","SMMCHA(80486947) CASH DIVIDEND CHF 5.99 PER SHARE - CH TAX","-14.68","CHF"
Shouldn't this be imported as Fee
?
from export-to-ghostfolio.
@swissbuechi I'm sorry, withholding tax is included in the tool! The tool matches the dividend tax lines to the correct dividend lines.
As you see with the line above, the fee
value contains the withholding tax value, and the other part is the normal dividend values.
from export-to-ghostfolio.
@swissbuechi I'm sorry, withholding tax is included in the tool! The tool matches the dividend tax lines to the correct dividend lines.
Alright I see, thank you.
from export-to-ghostfolio.
If there aren't any other issues, could you provide me with export instructions like these so I can add those to the readme? Much appreciated!
from export-to-ghostfolio.
Interactive Brokers
-
Open Interactive Brokers Account Management
-
Click Reporting in the sidebar
-
Click on the Flex Queries tab in the Reporting section.
-
From the Flex Queries section, Click the plus (+) icon on the right side to create a new Flex Query.
-
Create a new Flex Query for Trades and another one for Dividends
Trades
- Select
Trades
- Select Properties:
Buy/Sell
,TradeDate
,ISIN
,Quantity
,TradePrice
,TradeMoney
,CurrencyPrimary
,IBCommission
,IBCommissionCurrency
Dividends
- Select
Cash Transactions
- Select Properties:
Type
,SettleDate
,ISIN
,Description
,Amount
,CurrencyPrimary
- Select
-
Select Format =
CSV
-
Save Query
-
Run Query and select time frame
from export-to-ghostfolio.
Thanks a lot! I will add the instructions to the readme later this week, probably friday.
from export-to-ghostfolio.
Related Issues (20)
- [Degiro exporter v2] Fees are not properly matched to their transaction HOT 6
- [Degiro exporter v2] Error parsing Dutch transaction export from degiro.nl HOT 4
- No arm linux/arm64 docker image HOT 5
- [Degiro exporter v2] Taxes on dividend are added as dividends instead of substracting it from the dividend HOT 3
- [Degiro exporter v1] undefined 'comment' HOT 3
- Only Fees being processed in Docker HOT 10
- Fix workflow runs on PR from other contributors HOT 6
- Create Yahoo Finance mock for testing purposes HOT 1
- Add test coverage to `SecurityService.ts` HOT 1
- Add functionality to automatically validate JSON and upload to Ghostfolio
- new install fails on dayjs import HOT 2
- Degiro conversion error - module not found HOT 16
- Make DEGIRO V2 GA
- Swchab conversion error HOT 15
- Include BUX csv template HOT 13
- DeGiro conversion failing HOT 2
- Got a parsing error HOT 6
- Error when processing DEGIRO file due to Currency Exchange operation HOT 3
- Import Activities Error HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from export-to-ghostfolio.