103 Commits

Author SHA1 Message Date
Valentin Zickner
993f066e08 remove console.time statements during portfolio calls 2021-08-01 00:55:10 +02:00
Valentin Zickner
852902d1ab add current position calculation with holding period return calculation 2021-08-01 00:55:10 +02:00
Thomas
ee89822bfe Fix tests 2021-08-01 00:55:10 +02:00
Thomas
e0435e5cad Add name to position 2021-08-01 00:55:10 +02:00
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
8a482e63b9 fix gross performance number type 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
8e4ee7feea optimize order loading 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
7dac059a55 Sort imports 2021-08-01 00:55:10 +02:00
Thomas
48fbeda72d Sort imports 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
cfee6c1ddd add draft integration of new portfolio calculator to chart 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
Thomas
1c65599a16
Feature/add blog (#218)
* Setup blog

* Add german blog post

* Add english blog post

* Update changelog
2021-07-31 11:21:32 +02:00
Thomas
6996e5a140
Feature/add data gathering for symbol profile data (#228)
* Implement profile data gathering

* Update changelog
2021-07-24 21:13:48 +02:00
Thomas
51fbc538ca
Feature/set public stripe key dynamically (#216)
* Set public Stripe key dynamically

* Update changelog
2021-07-17 11:04:43 +02:00
Thomas
c7b7efae3b
Feature/import transactions (#212)
* Implement import transactions functionality

* Update changelog
2021-07-14 20:54:05 +02:00
Thomas
ecfe694f0b
Feature/export transactions (#209)
* Export functionality for transactions

* Update changelog
2021-07-11 17:05:58 +02:00
Thomas
f403807f2d
Bugfix/fix average buy price calculation (#204)
* Fix average buy price calculation

* Update changelog
2021-07-10 18:16:46 +02:00
Thomas
f22991b090
Feature/respect cash balance in analysis (#203)
* Respect cash balance in in analysis

* Update changelog
2021-07-10 14:57:03 +02:00
Thomas
2c19d8c8e7
Feature/add balance to account (#193)
* Add balance attribute and calculate total balance

* Update changelog
2021-07-07 21:23:36 +02:00
Thomas
3986e8f879
Upgrade Nx to version 12.5.4 (#194) 2021-07-04 21:31:15 +02:00
Thomas
290e93bbd7
Release 1.23.1 (#191) 2021-07-03 12:20:36 +02:00
Thomas
92d321a001
Drafts for orders (#187)
* Render the future with a dashed border

* Update changelog
2021-07-03 11:32:03 +02:00
Thomas
367f25a975
Feature/set user id in stripe callback (#184)
* Set user id as description

* Update changelog
2021-06-24 21:52:41 +02:00
Thomas
09bbda3502
Change from subscription to one time payment (#181) 2021-06-22 21:53:29 +02:00
Thomas
ad00cd9d81
Feature/setup subscription with stripe (#178)
* Set up stripe for subscriptions

* Update permissions and add discount

* Update changelog
2021-06-21 20:03:36 +02:00