update function now getting share data from json and updating on all shares

This commit is contained in:
Florian Kellermann
2022-03-16 17:42:46 +01:00
parent 536bdf3bd6
commit e4423a76b7
4 changed files with 59 additions and 51 deletions

View File

@@ -0,0 +1,16 @@
{
"user": "NormalParameter",
"share_count": 2,
"shares": [
{
"symbol": "APC.DE",
"price_bought": "50.06",
"amount_bought": "5.1"
},
{
"symbol": "TL0.DE",
"price_bought": "450.06",
"amount_bought": "5.13"
}
]
}