Browse Source

Merge 7b648e5043 into d545b81deb

pull/5377/merge
Thomas Kaul 18 hours ago
committed by GitHub
parent
commit
07637e0778
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      test/import/ok/500-activities.json
  2. 9
      test/import/ok/derived-currency.json
  3. 10
      test/import/ok/sample.json
  4. 10
      test/import/ok/vti-buy-long-history.json
  5. 7
      test/import/ok/without-accounts.json

9
test/import/ok/500-activities.json

@ -13,6 +13,8 @@
"platformId": null "platformId": null
} }
], ],
"platforms": [],
"tags": [],
"activities": [ "activities": [
{ {
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0", "accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
@ -6014,5 +6016,10 @@
"date": "2022-05-06T03:16:21.371059Z", "date": "2022-05-06T03:16:21.371059Z",
"symbol": "AAPL" "symbol": "AAPL"
} }
] ],
"user": {
"settings": {
"currency": "USD"
}
}
} }

9
test/import/ok/derived-currency.json

@ -13,6 +13,8 @@
"platformId": null "platformId": null
} }
], ],
"platforms": [],
"tags": [],
"activities": [ "activities": [
{ {
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0", "accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
@ -26,5 +28,10 @@
"date": "2024-06-28T00:00:00.000Z", "date": "2024-06-28T00:00:00.000Z",
"symbol": "JSE.JO" "symbol": "JSE.JO"
} }
] ],
"user": {
"settings": {
"currency": "USD"
}
}
} }

10
test/import/ok/sample.json

@ -21,7 +21,7 @@
"id": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0", "id": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
"isExcluded": false, "isExcluded": false,
"name": "My Online Trading Account", "name": "My Online Trading Account",
"platformId": null "platformId": "9da3a8a7-4795-43e3-a6db-ccb914189737"
} }
], ],
"assetProfiles": [ "assetProfiles": [
@ -70,7 +70,13 @@
"url": null "url": null
} }
], ],
"platforms": [], "platforms": [
{
"id": "9da3a8a7-4795-43e3-a6db-ccb914189737",
"name": "Interactive Brokers",
"url": "https://interactivebrokers.com"
}
],
"tags": [], "tags": [],
"activities": [ "activities": [
{ {

10
test/import/ok/vti-buy-long-history.json

@ -3,6 +3,9 @@
"date": "2023-04-29T00:00:00.000Z", "date": "2023-04-29T00:00:00.000Z",
"version": "dev" "version": "dev"
}, },
"accounts": [],
"platforms": [],
"tags": [],
"activities": [ "activities": [
{ {
"fee": 0, "fee": 0,
@ -34,5 +37,10 @@
"date": "2010-01-04T00:00:00.000Z", "date": "2010-01-04T00:00:00.000Z",
"symbol": "VTI" "symbol": "VTI"
} }
] ],
"user": {
"settings": {
"currency": "USD"
}
}
} }

7
test/import/ok/without-accounts.json

@ -44,5 +44,10 @@
"date": "2021-09-16T00:00:00.000Z", "date": "2021-09-16T00:00:00.000Z",
"symbol": "MSFT" "symbol": "MSFT"
} }
] ],
"user": {
"settings": {
"currency": "USD"
}
}
} }

Loading…
Cancel
Save