forked from BittyTax/BittyTax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DataRow given dictionary for row data, all parsers updated
To make the data parsers easier to write/maintain, the DataRow object now contains a dictionary of the row data in addition to an array. All parsers have been updated to use the row dictionary where appropriate. Whitespace is now removed from the beginning and end of each heading, as used by both the row dictionary and also DataParser. A new convert_currency method has been added to DataParser, this allows non-GBP prices to be added as asset values by the parser, this fixes BittyTax#72. It required a change to the PriceData class, the initialiser now uses a list of data sources, which in the case of convert_currency are fiat only. A new "Savings & Loans” category has been added to the conv tool to differentiate sites like Nexo, etc. General changes include, fixing some pylint warnings, removal of command line arguments from the Config object (except debug) so they are no longer global but instead used locally. The Crypto.com parser has been updated to recognise the transaction type “crypto_to_van_sell_order”. The Nexo parser has been updated to handle unconfirmed transactions.
- Loading branch information
Showing
60 changed files
with
1,635 additions
and
1,579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.