update function now getting share data from json and updating on all shares
This commit is contained in:
16
telegram_bot/shares/shares_example.json
Normal file
16
telegram_bot/shares/shares_example.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user