Feature/make the csv import more flexible (#573)

* Make the csv import more flexible

* Update changelog
This commit is contained in:
Thomas Kaul
2021-12-24 18:21:27 +01:00
committed by GitHub
parent 5d39b267ab
commit 3435b3a348
2 changed files with 3 additions and 2 deletions

View File

@@ -15,8 +15,8 @@ export class ImportTransactionsService {
private static CURRENCY_KEYS = ['ccy', 'currency'];
private static DATE_KEYS = ['date'];
private static FEE_KEYS = ['commission', 'fee'];
private static QUANTITY_KEYS = ['qty', 'quantity', 'shares'];
private static SYMBOL_KEYS = ['code', 'symbol'];
private static QUANTITY_KEYS = ['qty', 'quantity', 'shares', 'units'];
private static SYMBOL_KEYS = ['code', 'symbol', 'ticker'];
private static TYPE_KEYS = ['action', 'type'];
private static UNIT_PRICE_KEYS = ['price', 'unitprice', 'value'];