Add tests for investments by month (#1089)

* Fix investments by month

* Add tests for investments and investments by month

* Update changelog
This commit is contained in:
Thomas Kaul
2022-07-22 19:00:36 +02:00
committed by GitHub
parent 1866e26c1d
commit e444d717e5
8 changed files with 91 additions and 8 deletions

View File

@ -0,0 +1,28 @@
{
"meta": {
"date": "2022-07-21T21:28:05.857Z",
"version": "dev"
},
"activities": [
{
"fee": 0,
"quantity": 1,
"type": "SELL",
"unitPrice": 85.73,
"currency": "CHF",
"dataSource": "YAHOO",
"date": "2022-04-07T22:00:00.000Z",
"symbol": "NOVN.SW"
},
{
"fee": 0,
"quantity": 2,
"type": "BUY",
"unitPrice": 75.8,
"currency": "CHF",
"dataSource": "YAHOO",
"date": "2022-03-06T23:00:00.000Z",
"symbol": "NOVN.SW"
}
]
}