Valentin Zickner
4bbd17a37a
fix tests
3 years ago
Thomas
6a7def6c48
Clean up
3 years ago
Thomas
ea219f0b88
Add guard
3 years ago
Valentin Zickner
23b2e03923
refactor rule evaluation
3 years ago
Valentin Zickner
04e6518226
move report generation to PortfolioService
3 years ago
Valentin Zickner
72dbe00091
change rule service interface
3 years ago
Valentin Zickner
9834c52739
refactor rule settings
3 years ago
Thomas
c47578bd3e
Clean up
3 years ago
Thomas
9e4a49d811
Remove fallback
3 years ago
Thomas
a3a98c68a5
Fix missing currency conversion
3 years ago
Thomas
21570cca19
Fix impersonation in performance endpoint
3 years ago
Valentin Zickner
71a3115fc6
refactor get position endpoint
...
Co-authored-by: Thomas <dotsilver@gmail.com>
3 years ago
Valentin Zickner
de83dc7b84
create investment endpoint for analysis timeline
...
Co-authored-by: Thomas <dotsilver@gmail.com>
3 years ago
Valentin Zickner
4a0695613e
refactor PortfolioService#getOverview
...
Co-authored-by: Thomas <dotsilver@gmail.com>
3 years ago
Valentin Zickner
328d814922
remove getPerformance from portfolio.ts
...
Co-authored-by: Thomas <dotsilver@gmail.com>
3 years ago
Valentin Zickner
d23addb673
change getDetails to portfolio-calculator.ts
...
Co-authored-by: Thomas <dotsilver@gmail.com>
3 years ago
Thomas
fb15cebb64
Add test ( #237 )
...
* Add test
* fix calculation for overall gross performance percentage
Co-authored-by: Valentin Zickner <github@zickner.ch>
3 years ago
Valentin Zickner
9c51a257ae
fix performance of combination of investments
3 years ago
Thomas
ec5523b459
Handle empty portfolio
3 years ago
Thomas
c8c21a016a
Handle empty portfolio
3 years ago
Thomas
9821b7f8f0
Add TWR test scenario 1 ( #236 )
...
* Add TWR test scenario 1
* fix second transaction item
* change time-weighted rate algorithm
Co-authored-by: Valentin Zickner <valentin.zickner@flowable.com>
3 years ago
Valentin Zickner
ed731afc66
fix market price fetch in case symbols are missing
3 years ago
Thomas
bd0e53525b
Refactoring
3 years ago
Thomas
cbdb68e2f8
Refactoring
3 years ago
Thomas
8571709014
Refactoring
3 years ago
Thomas
e7ef1d426e
Refactoring
3 years ago
Thomas
39cba0a8eb
Refactoring
3 years ago
Thomas
a90c314e30
Refactoring
3 years ago
Thomas
47d71405e1
Refactoring
3 years ago
Thomas
5e9cecc6c1
Refactoring
3 years ago
Thomas
fb9e66318f
Improve test
3 years ago
Thomas
b8194eb64f
Clean up code
3 years ago
Thomas
cbb81916ee
Sort imports
3 years ago
Valentin Zickner
9b1e9397a8
add errors in case gross performance is not set
3 years ago
Valentin Zickner
b779964adb
add error handling to performance aggregation
3 years ago
Valentin Zickner
409afac2a9
fix rate conversion for todays symbols
3 years ago
Thomas
e0a4e16ea1
Improve error handling
3 years ago
Valentin Zickner
dc84abdc0a
change performance report to portfolio calculator
3 years ago
Valentin Zickner
b031b028f1
add today to getValues
3 years ago
Valentin Zickner
3b7e0a0106
remove unnecessary if condition
3 years ago
Valentin Zickner
ea66081073
move interfaces to separate files
3 years ago
Valentin Zickner
602a770a09
fix typo
3 years ago
Thomas
e522722aa6
Update comment
3 years ago
Valentin Zickner
03ca5d7663
add further tests for portfolio-calculator with one transaction
3 years ago
Valentin Zickner
136563c949
fix single buy test
3 years ago
Thomas
948c45c602
Update test
3 years ago
Thomas
e0be792e46
Re-enable all tests
3 years ago
Thomas
c3d010135f
Add test for single buy
3 years ago
Thomas
d6a16a6093
Improve error handling
3 years ago
Valentin Zickner
34c13c80ec
add error handling for current positions
3 years ago
Valentin Zickner
f65a108436
change hardcoded timestamp in test to timezone specific
3 years ago
Valentin Zickner
993f066e08
remove console.time statements during portfolio calls
3 years ago
Valentin Zickner
852902d1ab
add current position calculation with holding period return calculation
3 years ago
Thomas
ee89822bfe
Fix tests
3 years ago
Thomas
e0435e5cad
Add name to position
3 years ago
Thomas
e2c23703dc
Fix tests
3 years ago
Thomas
1226c26a9d
Refactor positions
3 years ago
Valentin Zickner
fdc89f7182
optimize performance of positions endpoint
3 years ago
Valentin Zickner
04e03bd080
add multi-date fetch for current values
3 years ago
Valentin Zickner
66e7ad3fd2
prepare for multi-day database fetch
3 years ago
Thomas
b4dc21dd61
Implement new positions endpoint
3 years ago
Valentin Zickner
8a482e63b9
fix gross performance number type
3 years ago
Valentin Zickner
aabfb39e8f
optimize portfolio calculator to fetch all symbols for one day
3 years ago
Valentin Zickner
cdc8faff7f
add current position gross performance (percentage)
3 years ago
Valentin Zickner
7b696e39de
add sorting and symbol as a result
3 years ago
Valentin Zickner
c88ad2c225
change getValues to multiple symbols
3 years ago
Valentin Zickner
cbe079ae66
ignore missing values
3 years ago
Valentin Zickner
8e4ee7feea
optimize order loading
3 years ago
Valentin Zickner
f1b3c61675
add additional time measurements
3 years ago
Thomas
24dc312367
Add logs to benchmark
3 years ago
Thomas
7ac7442f73
Declare functions explicitly as public
3 years ago
Thomas
099571437e
Extend current rate service with getRange()
3 years ago
Thomas
7dac059a55
Sort imports
3 years ago
Thomas
48fbeda72d
Sort imports
3 years ago
Thomas
19007cdc34
Optimize market data query
3 years ago
Thomas
5037393866
Support today in current rate service
3 years ago
Valentin Zickner
ddf24163b4
optimize database query execution for portfolio chart
3 years ago
Valentin Zickner
b26521c4bd
add workaround for database date search
3 years ago
Valentin Zickner
cfee6c1ddd
add draft integration of new portfolio calculator to chart
3 years ago
Valentin Zickner
19bcd601d1
add gross performance
3 years ago
Valentin Zickner
836df69e68
add calculation of current investment
3 years ago
Valentin Zickner
dd86adcea1
add investment to timeline calculation
3 years ago
Valentin Zickner
4f7628921d
add timeline time point calculation
3 years ago
Valentin Zickner
88f0cb095d
make it pretty
3 years ago
Valentin Zickner
7538133d09
implement getCurrentPositions of PortfolioCalculator
3 years ago
Thomas
67606e4026
Extend current rate service test
3 years ago
Valentin Zickner
9de56c32ac
create base structure for portfolio rewrite
...
Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
3 years ago
Thomas
1c65599a16
Feature/add blog ( #218 )
...
* Setup blog
* Add german blog post
* Add english blog post
* Update changelog
3 years ago
Thomas
6996e5a140
Feature/add data gathering for symbol profile data ( #228 )
...
* Implement profile data gathering
* Update changelog
3 years ago
Thomas
51fbc538ca
Feature/set public stripe key dynamically ( #216 )
...
* Set public Stripe key dynamically
* Update changelog
3 years ago
Thomas
c7b7efae3b
Feature/import transactions ( #212 )
...
* Implement import transactions functionality
* Update changelog
3 years ago
Thomas
ecfe694f0b
Feature/export transactions ( #209 )
...
* Export functionality for transactions
* Update changelog
3 years ago
Thomas
f403807f2d
Bugfix/fix average buy price calculation ( #204 )
...
* Fix average buy price calculation
* Update changelog
3 years ago
Thomas
f22991b090
Feature/respect cash balance in analysis ( #203 )
...
* Respect cash balance in in analysis
* Update changelog
3 years ago
Thomas
2c19d8c8e7
Feature/add balance to account ( #193 )
...
* Add balance attribute and calculate total balance
* Update changelog
3 years ago
Thomas
3986e8f879
Upgrade Nx to version 12.5.4 ( #194 )
3 years ago
Thomas
290e93bbd7
Release 1.23.1 ( #191 )
3 years ago
Thomas
92d321a001
Drafts for orders ( #187 )
...
* Render the future with a dashed border
* Update changelog
3 years ago
Thomas
367f25a975
Feature/set user id in stripe callback ( #184 )
...
* Set user id as description
* Update changelog
3 years ago
Thomas
09bbda3502
Change from subscription to one time payment ( #181 )
3 years ago
Thomas
ad00cd9d81
Feature/setup subscription with stripe ( #178 )
...
* Set up stripe for subscriptions
* Update permissions and add discount
* Update changelog
3 years ago
Thomas
66c955ad6c
Feature/ghostfolio in numbers ( #175 )
...
* Add Ghostfolio in numbers section
* Update changelog
4 years ago
Thomas
0264b592b9
Feature/improve investments by sector ( #172 )
...
* Improve investments analysis by sector
* Update changelog
4 years ago
Matthias Frey
6c1119caec
Restrict webauthn to fingerprint only and improve UX ( #161 )
...
* Restrict webauthn to fingerprint only
* Move webauthn login to separate page /webauthn
* Stay signed in with social login
* Update changelog
Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
4 years ago
Matthias Frey
e87c942cb8
Add webauthn ( #82 )
...
* Add webauthn
* Complete WebAuthn device sign up and login
* Move device registration to account page
* Replace the token login with a WebAuthn prompt if the current device has been registered
* Mark the current device in the list of registered auth devices
* Fix after rebase
* Fix tests
* Disable "Add current device" button if current device is registered
* Add option to "Stay signed in"
* Remove device list feature, sign in with deviceId instead
* Improve usability
* Update changelog
Co-authored-by: Matthias Frey <mfrey43@gmail.com>
Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
4 years ago
Thomas
9eb25f6c9e
Feature/connect or create logic for symbol profile ( #153 )
...
* Add connectOrCreate logic
* Extend seed
* Update changelog
4 years ago
Thomas
6a03120225
Feature/add symbol profile model ( #148 )
...
* Add symbol profile model and positions by country chart
* Add positions by continent chart
* Fix tests
* Extend seed
* Update changelog
4 years ago
Thomas
ef272360fb
Feature/render average prices in position detail chart ( #144 )
...
* Render average buy prices
* Update changelog
4 years ago
Thomas
e7fbcd4fa0
Feature/extend pricing page ( #130 )
...
* Extend pricing page
* Feature/align pricing page with subscription model (#135 )
* Align pricing page with subscription model
* Update changelog
4 years ago
Thomas
146b5201b5
Feature/make x ray rules order consistent ( #134 )
...
* Make order of X-ray rules consistent
* Update changelog
4 years ago
Thomas
42a2d404e4
Fix type errors ( #126 )
4 years ago
Thomas
11b2379d98
Feature/respect data source in data gathering ( #107 )
...
* Respect data source in data gathering
* Update changelog
* optimize fetching from multiple data sources (#123 )
* optimize fetching from multiple data sources
* improve performance by executing data gathering promises in parallel
* removed unused imports
* rename hasHistoricalData to canHandle
* Sort imports
* Clean up
Co-authored-by: Valentin Zickner <3200232+vzickner@users.noreply.github.com>
4 years ago
Thomas
8e13f6ef9b
Bugfix/fix performance chart ( #119 )
...
* Fix value of performance chart
* Update changelog
4 years ago
Thomas
1a553a296f
Feature/improve user table of admin control panel ( #109 )
...
* Improve user table
* Add index
* Increase limit
* Improve alignment of cell content
* Update changelog
4 years ago
Thomas
78a4946e8b
Feature/zen mode ( #110 )
...
* Start with implementation
* Refactor AuthGuard, persist displayMode in user settings
* Refactor DisplayMode to ViewMode
* Update changelog
4 years ago
Thomas
200a7d2d65
Feature/refactor search functionality ( #105 )
...
* Refactor search functionality
* Update changelog
* Improvements after code review
4 years ago
Thomas
abd0e08566
Introduce @ghostfolio/common lib ( #102 )
4 years ago
Thomas
c973ffd3ba
Feature/reorganize helper lib ( #100 )
...
Reorganize helper lib (Move interfaces and types)
* InfoItem
* PortfolioItem
* PortfolioOverview
* PortfolioPerformance
* Position
* PortfolioPosition
* PortfolioReport
* PortfolioReportRule
* User
* UserSettings
* DateRange
* AdminData
* AccessWithGranteeUser
* OrderWithAccount
* Granularity
* UserWithSettings
* RequestWithUser
4 years ago
Thomas
368de7dedc
Extend unit tests ( #99 )
4 years ago
Thomas
5d36d3a6bb
remove database dependencies for test execution ( #96 )
...
Co-Authored-By: Valentin Zickner <valentin@coderworks.de>
4 years ago
Thomas
111d8d8e3c
Feature/rename share to allocation in columns of positions table ( #93 )
...
* Rename columns
* Initial Share -> Initial Allocation
* Current Share -> Current Allocation
* Update changelog
4 years ago
Thomas
b0a24e4fc0
Desaturate background color ( #92 )
4 years ago
Valentin Zickner
5d24adfa75
Feature/improve transaction filtering ( #76 )
...
* add multi-filter support for transaction filtering with auto completion
* update changelog
* fix table for transaction for accounts without platform
* simplify readme file since docker compose build is not required (#75 )
* simplify readme file since docker compose build is not required
* add anchor navigation in README.md
* Improve UI
* Refactoring
* Refactoring
* Feature/travis (#77 )
* integrate travis
* fix prettier transactions-page.component.ts
* change base branch to main
* fetch all branches in .travis.yml
* Bugfix/keep current menu item active (#78 )
* Keep current menu item active
* Update changelog
* Feature/travis (#77 )
* integrate travis
* fix prettier transactions-page.component.ts
* change base branch to main
* fetch all branches in .travis.yml
* Keep current menu item active
* Update changelog
Co-authored-by: Valentin Zickner <3200232+vzickner@users.noreply.github.com>
* add multi-filter support for transaction filtering with auto completion
* update changelog
* fix table for transaction for accounts without platform
* Improve UI
* Refactoring
* Refactoring
* Update changelog
Co-authored-by: Thomas <4159106+dtslvr@users.noreply.github.com>
4 years ago
Thomas
87cd3ef33f
Release 0.99.0 ( #65 )
4 years ago
Thomas
163f4a3d3f
Feature/allow to delete users ( #64 )
...
* Allow to delete users
* Update changelog
4 years ago
Thomas
a84256dc03
Feature/eliminate platform from order ( #63 )
...
* Eliminate platform from order
* Update changelog
4 years ago
Thomas
cf82066976
Fix test ( #62 )
4 years ago
Thomas
90a2fea7d6
Feature/create and update accounts ( #60 )
...
* Allow to create and update accounts
* Activate account selector in transaction dialog
* Refactor analytics and report from platforms to accounts
4 years ago
Thomas
c70eb7793e
Feature/migration to accounts ( #58 )
...
* Migrate transaction table
* Add accounts page
* Add account page logic
4 years ago
Thomas
e3a1d2b9cf
Fix tests ( #57 )
4 years ago
Thomas
a076a1c933
Feature/extend position detail dialog ( #54 )
...
* Extend position detail dialog
* Absolute change
* Number of transactions
4 years ago
Thomas
40c95a541d
Add data source to transaction model ( #53 )
4 years ago
Thomas
94e0feac68
Add scraper symbols to symbol lookup results ( #51 )
4 years ago
Thomas
608b195ba9
Extend user table ( #47 )
...
* Column: accounts
* Horizontal scrollbar
4 years ago
Thomas
8cb5fd64dd
Prepare for multi accounts support: store account for new transactions ( #46 )
4 years ago
Thomas
6ecf66ea2a
Fix types
4 years ago
Thomas
65ba16c07c
Fix tests
4 years ago
Thomas
125956eb3e
Refactor number extraction from string ( #41 )
4 years ago
Thomas
954224401d
Prepare for multi accounts support ( #42 )
4 years ago
Thomas
39cfb4603b
Extend support for feature flags ( #39 )
4 years ago
Thomas
5cb69291f5
Introduce market states ( #38 )
...
* closed
* delayed (no live data)
* open
4 years ago
Thomas
82e159a083
Filter inactive users ( #36 )
4 years ago
Thomas
dbed4ea527
Feature/improve imports with paths in tsconfig ( #32 )
...
* Improve imports
4 years ago
Thomas
8d149b5e2b
Reduce period of max data gathering ( #30 )
4 years ago
Thomas
069006145a
Improve scraper ( #28 )
4 years ago
Thomas
a2687eacbc
Feature/implement scraper ( #25 )
...
* Clean up imports
* Implement scraper
* Sort imports
4 years ago
Thomas
0f2c8c856c
Clean up imports ( #24 )
4 years ago
Thomas
ec4dbf2a51
Feature/extend database seed ( #23 )
...
* Extend database seed
* platforms
* transactions of demo user
* Improve error handling
4 years ago
Thomas
b200138a9e
Release 0.86.1 ( #19 )
4 years ago
Thomas
1de8c08c39
Check for environment variables ( #17 )
4 years ago
Thomas
358f0d7eaf
Improve the user table ( #16 )
4 years ago
Thomas
5d1f1b452a
Simplify initial project setup ( #12 )
...
* Simplify initial project setup
* Added a validation for environment variables
* Added support for feature flags to simplify the initial project setup
* Add configuration service to test
* Optimize data gathering and exchange rate calculation (#14 )
* Clean up changelog
4 years ago
Thomas
fed10c7110
Add license ( #8 )
...
* Add license
* Remove unnecessary style
* Add license to package.json
* Update url
* Adapt offering to new license (#13 )
* Adapt offering to new license
* Update changelog
* Add license to about page
* Adapt offering to new license
4 years ago
Thomas
c616312233
Initial commit
4 years ago