Browse Source
Feature/make the csv import more flexible (#573)
* Make the csv import more flexible
* Update changelog
pull/575/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
CHANGELOG.md
-
apps/client/src/app/services/import-transactions.service.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Increased the historical data chart of the _Fear & Greed Index_ (market mood) to 30 days |
|
|
|
- Made the import functionality for transactions by `csv` files more flexible |
|
|
|
|
|
|
|
## 1.93.0 - 21.12.2021 |
|
|
|
|
|
|
|
|
|
@ -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']; |
|
|
|
|
|
|
|