27 Commits

Author SHA1 Message Date
Thomas
e2c23703dc Fix tests 2021-08-01 00:55:10 +02:00
Thomas
1226c26a9d Refactor positions 2021-08-01 00:55:10 +02:00
Valentin Zickner
fdc89f7182 optimize performance of positions endpoint 2021-08-01 00:55:10 +02:00
Valentin Zickner
04e03bd080 add multi-date fetch for current values 2021-08-01 00:55:10 +02:00
Valentin Zickner
66e7ad3fd2 prepare for multi-day database fetch 2021-08-01 00:55:10 +02:00
Thomas
b4dc21dd61 Implement new positions endpoint 2021-08-01 00:55:10 +02:00
Valentin Zickner
aabfb39e8f optimize portfolio calculator to fetch all symbols for one day 2021-08-01 00:55:10 +02:00
Valentin Zickner
cdc8faff7f add current position gross performance (percentage) 2021-08-01 00:55:10 +02:00
Valentin Zickner
7b696e39de add sorting and symbol as a result 2021-08-01 00:55:10 +02:00
Valentin Zickner
c88ad2c225 change getValues to multiple symbols 2021-08-01 00:55:10 +02:00
Valentin Zickner
cbe079ae66 ignore missing values 2021-08-01 00:55:10 +02:00
Valentin Zickner
f1b3c61675 add additional time measurements 2021-08-01 00:55:10 +02:00
Thomas
24dc312367 Add logs to benchmark 2021-08-01 00:55:10 +02:00
Thomas
7ac7442f73 Declare functions explicitly as public 2021-08-01 00:55:10 +02:00
Thomas
099571437e Extend current rate service with getRange() 2021-08-01 00:55:10 +02:00
Thomas
19007cdc34 Optimize market data query 2021-08-01 00:55:10 +02:00
Thomas
5037393866 Support today in current rate service 2021-08-01 00:55:10 +02:00
Valentin Zickner
ddf24163b4 optimize database query execution for portfolio chart 2021-08-01 00:55:10 +02:00
Valentin Zickner
b26521c4bd add workaround for database date search 2021-08-01 00:55:10 +02:00
Valentin Zickner
19bcd601d1 add gross performance 2021-08-01 00:55:10 +02:00
Valentin Zickner
836df69e68 add calculation of current investment 2021-08-01 00:55:10 +02:00
Valentin Zickner
dd86adcea1 add investment to timeline calculation 2021-08-01 00:55:10 +02:00
Valentin Zickner
4f7628921d add timeline time point calculation 2021-08-01 00:55:10 +02:00
Valentin Zickner
88f0cb095d make it pretty 2021-08-01 00:55:10 +02:00
Valentin Zickner
7538133d09 implement getCurrentPositions of PortfolioCalculator 2021-08-01 00:55:10 +02:00
Thomas
67606e4026 Extend current rate service test 2021-08-01 00:55:10 +02:00
Valentin Zickner
9de56c32ac create base structure for portfolio rewrite
Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
2021-08-01 00:55:10 +02:00