-
-
Notifications
You must be signed in to change notification settings - Fork 0
[Format Request] DEGIRO #10
Copy link
Copy link
Open
Labels
enhancementIssue or pull request related to a new featureIssue or pull request related to a new featureformat pluginIssue or pull request related to a format pluginIssue or pull request related to a format plugin
Milestone
Metadata
Metadata
Assignees
Labels
enhancementIssue or pull request related to a new featureIssue or pull request related to a new featureformat pluginIssue or pull request related to a format pluginIssue or pull request related to a format plugin
Format Name
DEGIRO
Export Instructions
Format Description
This format has a lot of quirks. Some that I could recall:
Transactions are split across multiple rows (let's call them order groups): separate rows for the main transaction itself, its fees, and currency exchange (if applicable) (let's call them sub-transactions).
This means that we will have to look-ahead and assemble all CSV rows into one transaction group.
Order Idmay not be set for all transactions. This will complicate handling quirk 1.Timestamps have one minute precision. If more than one order was executed within one minute, sub-transactions from those orders may be intermingled with each other. There also needs to be a one minute tolerance window, as I've occasionally seen sub-transactions from one order group spread across two consecutive minutes. This will complicate handling quirk 1.
There are no symbols, only ISINs. However, some option transactions have ticker of the underlying security in the
ISINfield.For exports with lots of instruments, this plugin may need a data provider that can automatically look up symbols from some database or third-party API.
Some transaction information (like type, amount, unit price) has to be extracted from the transaction description.
Numbers use comma as a decimal separator (e.g.,
10,3).There are two empty column names (one after the
Changecolumn and one after theBalancecolumn):Column with the name contains currency, while the noname one contains corresponding amount.
Values in the
DescriptionandOrder Idcolumns may sometimes be split across two rows in a weird way:This will require look-ahead and merging of rows.
Sample CSV Data
Row examples TBD.
Documentation or Resources
No response
Format Variations
This format is language-specific and my account is in German language, so this is the one that will be supported out of the gate. Samples in other languages will be needed to add support for those.
Contribution
Yes, I can contribute code
Additional Context
Note: This issue is mainly for tracking and visibility purposes, so it may not be filled up-to-standard. I know the format and its quirks and plan to create a plugin for it. The plugin will be thoroughly documented in the plugin user guide.
Terms