Feature/add accounts import export (#1635)
* Add accounts to activities export * Add logic for importing accounts * Update changelog
This commit is contained in:
@ -1,10 +1,23 @@
|
||||
{
|
||||
"meta": {
|
||||
"date": "2022-04-01T00:00:00.000Z",
|
||||
"date": "2023-02-05T00:00:00.000Z",
|
||||
"version": "dev"
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"accountType": "SECURITIES",
|
||||
"balance": 2000,
|
||||
"currency": "USD",
|
||||
"id": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
|
||||
"isExcluded": false,
|
||||
"name": "My Online Trading Account",
|
||||
"platformId": null
|
||||
}
|
||||
],
|
||||
"activities": [
|
||||
{
|
||||
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
|
||||
"comment": null,
|
||||
"fee": 0,
|
||||
"quantity": 0,
|
||||
"type": "BUY",
|
||||
@ -15,6 +28,8 @@
|
||||
"symbol": "MSFT"
|
||||
},
|
||||
{
|
||||
"accountId": null,
|
||||
"comment": null,
|
||||
"fee": 0,
|
||||
"quantity": 1,
|
||||
"type": "ITEM",
|
||||
@ -25,6 +40,8 @@
|
||||
"symbol": "Penthouse Apartment"
|
||||
},
|
||||
{
|
||||
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
|
||||
"comment": null,
|
||||
"fee": 0,
|
||||
"quantity": 5,
|
||||
"type": "DIVIDEND",
|
||||
@ -35,6 +52,8 @@
|
||||
"symbol": "MSFT"
|
||||
},
|
||||
{
|
||||
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
|
||||
"comment": "My first order",
|
||||
"fee": 19,
|
||||
"quantity": 5,
|
||||
"type": "BUY",
|
||||
|
Reference in New Issue
Block a user