Feature/rename orders to activities in import and export (#786)

* Rename orders to activities

* Update changelog
This commit is contained in:
Thomas Kaul
2022-04-02 10:26:17 +02:00
committed by GitHub
parent e986310302
commit 1214127ec0
14 changed files with 142 additions and 73 deletions

39
test/import/ok.json Normal file
View File

@ -0,0 +1,39 @@
{
"meta": {
"date": "2022-04-01T00:00:00.000Z",
"version": "dev"
},
"activities": [
{
"accountId": null,
"date": "2021-12-31T23:00:00.000Z",
"fee": 0,
"quantity": 1,
"type": "ITEM",
"unitPrice": 500000,
"currency": "USD",
"dataSource": "MANUAL",
"symbol": "Penthouse Apartment"
},
{
"date": "2021-11-16T23:00:00.000Z",
"fee": 0,
"quantity": 5,
"type": "DIVIDEND",
"unitPrice": 0.62,
"currency": "USD",
"dataSource": "YAHOO",
"symbol": "MSFT"
},
{
"date": "2021-09-15T22:00:00.000Z",
"fee": 19,
"quantity": 5,
"type": "BUY",
"unitPrice": 298.58,
"currency": "USD",
"dataSource": "YAHOO",
"symbol": "MSFT"
}
]
}