Browse Source

Add invalid-platform.json

pull/7515/head
Thomas Kaul 4 weeks ago
parent
commit
be18ecb03a
  1. 42
      test/import/not-ok/invalid-platform.json

42
test/import/not-ok/invalid-platform.json

@ -0,0 +1,42 @@
{
"meta": {
"date": "2023-02-05T00:00:00.000Z",
"version": "dev"
},
"accounts": [
{
"balance": 0,
"balances": [],
"currency": "USD",
"id": "e62be662-a2c8-4cff-8b79-dc0a46576659",
"name": "Lehman Brothers Account",
"platformId": "2807e8e7-3966-4ced-8d82-0fa2d9c97277"
}
],
"platforms": [
{
"id": "2807e8e7-3966-4ced-8d82-0fa2d9c97277",
"name": "Lehman Brothers",
"url": "https://lehmanbrothers.com"
}
],
"activities": [
{
"accountId": "e62be662-a2c8-4cff-8b79-dc0a46576659",
"fee": 19,
"quantity": 5,
"type": "BUY",
"unitPrice": 298.58,
"currency": "USD",
"dataSource": "YAHOO",
"date": "2021-09-16T00:00:00.000Z",
"symbol": "MSFT"
}
],
"user": {
"settings": {
"currency": "USD",
"performanceCalculationType": "ROAI"
}
}
}
Loading…
Cancel
Save