Feature/add accounts import export (#1635)
* Add accounts to activities export * Add logic for importing accounts * Update changelog
This commit is contained in:
48
test/import/ok-without-accounts.json
Normal file
48
test/import/ok-without-accounts.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"meta": {
|
||||
"date": "2022-04-01T00:00:00.000Z",
|
||||
"version": "dev"
|
||||
},
|
||||
"activities": [
|
||||
{
|
||||
"fee": 0,
|
||||
"quantity": 0,
|
||||
"type": "BUY",
|
||||
"unitPrice": 0,
|
||||
"currency": "USD",
|
||||
"dataSource": "YAHOO",
|
||||
"date": "2050-06-05T22:00:00.000Z",
|
||||
"symbol": "MSFT"
|
||||
},
|
||||
{
|
||||
"fee": 0,
|
||||
"quantity": 1,
|
||||
"type": "ITEM",
|
||||
"unitPrice": 500000,
|
||||
"currency": "USD",
|
||||
"dataSource": "MANUAL",
|
||||
"date": "2021-12-31T22:00:00.000Z",
|
||||
"symbol": "Penthouse Apartment"
|
||||
},
|
||||
{
|
||||
"fee": 0,
|
||||
"quantity": 5,
|
||||
"type": "DIVIDEND",
|
||||
"unitPrice": 0.62,
|
||||
"currency": "USD",
|
||||
"dataSource": "YAHOO",
|
||||
"date": "2021-11-16T22:00:00.000Z",
|
||||
"symbol": "MSFT"
|
||||
},
|
||||
{
|
||||
"fee": 19,
|
||||
"quantity": 5,
|
||||
"type": "BUY",
|
||||
"unitPrice": 298.58,
|
||||
"currency": "USD",
|
||||
"dataSource": "YAHOO",
|
||||
"date": "2021-09-15T22:00:00.000Z",
|
||||
"symbol": "MSFT"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user