Arham Amin
2c5f4fdca2
test(portfolio): cover a missing exchange rate in the calculator
Builds the BALN.SW buy with both fee fields unset, which is the state the
calculator sees when no exchange rate is available for the activity's date.
Asserts the snapshot is still produced and the fees count as 0.
Fails with "[big.js] Invalid number" without the preceding fix.
1 month ago
Arham Amin
d83578e223
fix(portfolio): tolerate unconvertible fees in the calculator
`toCurrencyAtDate()` resolves to undefined when no exchange rate exists for an
activity's date, so `feeInAssetProfileCurrency` and `feeInBaseCurrency` can
reach the calculator unset. Passing those straight into `new Big()` threw
"[big.js] Invalid number" and failed the whole portfolio request, so the
Overview, Portfolio and Holdings pages rendered "Oops! Something went wrong".
Fees are only ever accumulated, so 0 is the identity here and the snapshot
stays computable while the exchange rate data is still being gathered.
Refs ghostfolio/ghostfolio#6482
1 month ago
Thomas Kaul
faf01ae820
Feature/support migrating asset profile to MANUAL data source ( #7376 )
* Support migrating asset profile to MANUAL data source
* Update changelog
1 month ago
Thomas Kaul
20afbdc202
Task/restrict get symbol data endpoint to authenticated users ( #7372 )
* Restrict symbol data endpoint to authenticated users
* Update changelog
1 month ago
Thomas Kaul
82faa08412
Task/remove deprecated auth endpoint ( #7373 )
* Remove deprecated auth endpoint
* Update changelog
1 month ago
Kenrick Tandrian
11db199b94
Task/enforce noImplicitOverride TypeScript rule ( #7355 )
* feat(ts): enable no implicit override
* fix(api): resolve type errors
* fix(client): resolve type errors
* fix(ui): resolve type errors
* fix(common): resolve type errors
1 month ago
Thomas Kaul
37bd17d3c1
Task/simplify getHistorical() function response in data provider interface ( #7369 )
* Simplify getHistorical() function response
* Update changelog
1 month ago
Kenrick Tandrian
b888134056
Task/improve type safety in statistics gathering and tag services ( #7328 )
* feat(api): create interface for BetterStack update SLA response
* fix(api): resolve type errors
* fix(api): resolve type errors in tag service
1 month ago
Thomas Kaul
ae257f8acb
Feature/support Fear & Greed index via Ghostfolio data provider in self-hosted environments ( #7364 )
* Support Fear & Greed index via Ghostfolio data provider in self-hosted environments
* Update changelog
1 month ago
Thomas Kaul
74e8df4ac9
Task/upgrade stripe to version 22.3.2 ( #7363 )
* Update stripe to version 22.3.2
* Update changelog
1 month ago
Kenrick Tandrian
0ad326b7c8
Task/enforce noImplicitThis and allowUnreachableCode TypeScript rules ( #7354 )
* feat(ts): disable allowing unreachable code
* feat(ts): enable no implicit this
1 month ago
Thomas Kaul
22d68e7ac1
Bugfix/remove linked account from BUY / SELL / DIVIDEND activity ( #7346 )
* Fix removing a linked account from a buy, sell or dividend activity
* Update changelog
1 month ago
Thomas Kaul
05b9cd2cc4
Bugfix/preserve tags when updating activity ( #7347 )
* Validate tags when creating or updating an activity
* Fix loss of activity tags when updating an activity fails
* Update changelog
1 month ago
Thomas Kaul
def15e544a
Bugfix/liabilities without market data ( #7345 )
* Fix liabilities without market data
* Update changelog
1 month ago
Thomas Kaul
05192164db
Task/validate and encode URL in logo endpoint ( #7330 )
* Harden URL validation in logo endpoint
* Update changelog
1 month ago
Thomas Kaul
d35e76737b
Task/improve error handling in HTML template middleware ( #7331 )
* Improve error handling
* Update changelog
1 month ago
Thomas Kaul
9ecb5909c7
Bugfix/startup error in data gathering caused by uninitialized data provider mappings ( #7333 )
* Initialize data provider mappings
* Update changelog
1 month ago
Thomas Kaul
7a2e25d583
Bugfix/improve error handling in get quotes of FMP service ( #7334 )
* Improve error handling
* Update changelog
1 month ago
Thomas Kaul
69254032a3
Feature/add markets endpoint for Fear & Greed index to Ghostfolio data provider ( #7323 )
* Add markets endpoint
* Update changelog
1 month ago
Thomas Kaul
d5fb6311c1
Task/deprecate SymbolProfile in favor of assetProfile in activity interface ( #7315 )
* Deprecate SymbolProfile in favor of assetProfile
* Update changelog
1 month ago
Thomas Kaul
6c948d39eb
Task/round Fear & Greed index in Twitter bot service ( #7318 )
* Round value
* Update changelog
1 month ago
Thomas Kaul
3fdf9d7e34
Task/rename SymbolProfile to assetProfile in portfolio order interface ( #7310 )
Rename SymbolProfile to assetProfile
1 month ago
Thomas Kaul
55e3bd00d2
Task/change default data source of fear and greed index stocks to MANUAL ( #7307 )
* Change default value to MANUAL
* Update changelog
1 month ago
Thomas Kaul
d207d7a753
Feature/add rate limiting to authentication and sign up endpoints ( #7263 )
* Add rate limiting to authentication and sign up endpoints
* Update changelog
1 month ago
Thomas Kaul
ac8616856a
Task/expose data source for Fear & Greed Index ( #7285 )
* Expose data source for Fear & Greed Index
* Update changelog
1 month ago
Kenrick Tandrian
7229d47597
Task/migrate deprecated @nx/webpack:webpack executor ( #7198 )
* Migrate deprecated @nx/webpack:webpack executor
* Update changelog
1 month ago
Shaik Aftab
cae1e10769
Task/validate property key in admin settings endpoint ( #7247 )
* Validate property key
* Update changelog
1 month ago
Thomas Kaul
9b590efa87
Task/rename SymbolProfileOverrides to AssetProfileOverrides ( #7271 )
* Rename SymbolProfileOverrides to AssetProfileOverrides
* Update changelog
1 month ago
Thomas Kaul
45ab4016e5
Task/improve user account deletion flow ( #7269 )
* Improve user account deletion flow
* Update changelog
1 month ago
Thomas Kaul
ee59449d29
Task/reorder attributes in cash portfolio calculator test ( #7254 )
Reorder attributes
2 months ago
Thomas Kaul
79e382a8f7
Feature/add tags support in accounts ( #7242 )
* Add tags support in accounts
* Update changelog
2 months ago
Akash Negi
5ad9e06d17
Task/improve type safety of key in PropertyService ( #7219 )
Improve type safety
2 months ago
Thomas Kaul
eedb556c06
Feature/expose PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_REMOVE_ON_FAIL environment variable ( #7221 )
* Expose PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_REMOVE_ON_FAIL environment variable
* Update changelog
2 months ago
Thomas Kaul
3b3e0884b0
Bugfix/improve creation of Stripe checkout session ( #7220 )
* Improve creation of Stripe checkout session
* Update changelog
2 months ago
Shaik Aftab
6df3d21867
Task/upgrade Stripe to version 22 ( #7184 )
* Upgrade Stripe to version 22
* Update changelog
2 months ago
Thomas Kaul
c4c3845ef2
Bugfix/handling of cash positions in portfolio details with filters ( #7215 )
* Fix handling of cash positions with filters
* Update changelog
2 months ago
Thomas Kaul
689778f025
Bugfix/exclude cash positions from portfolio calculations with filters ( #7212 )
* Fix handling of cash positions with filters
* Update changelog
2 months ago
Thomas Kaul
6df2f4e07f
Task/harmonize filter parsing using groupBy() ( #7211 )
* Harmonize filter parsing using groupBy()
* Update changelog
2 months ago
Thomas Kaul
c0b6a2f95a
Bugfix/handling of values rounding to zero in twitter bot ( #7210 )
* Fix handling of values rounding to zero
* Update changelog
2 months ago
Thomas Kaul
c2f3b77c9b
Task/improve parsing of integer query parameter includeHistoricalData in various endpoints ( #7208 )
* Improve parsing of integer query parameter includeHistoricalData
* Update changelog
2 months ago
Thomas Kaul
818411b10d
Task/clean up get holding call in import service ( #7207 )
Clean up
2 months ago
Shaik Aftab
f44f542019
Task/improve integer query parameter parsing in various controllers ( #7189 )
* Improve integer query parameter parsing of skip and take
* Update changelog
2 months ago
Thomas Kaul
6d4845fa8d
Task/restrict update of activity tags in impersonation mode ( #7206 )
* Restrict update of activity tags in impersonation mode
* Update changelog
2 months ago
Thomas Kaul
fc8c85c5e8
Task/harden endpoint of public access for portfolio sharing ( #7205 )
* Harden endpoint by restricting to public accesses
* Update changelog
2 months ago
Thomas Kaul
16062ac372
Bugfix/handling of values rounding to zero ( #7201 )
* Fix handling of values rounding to zero
* Update changelog
2 months ago
Akash Negi
68b5c997ba
Task/improve parsing of integer query parameters in GET api/v1/activities endpoint ( #7183 )
* Improve parsing of integer query parameters
* Update changelog
2 months ago
Alexander Linder
80e81a36a9
Feature/add proxy route to FetchService ( #7153 )
* Add proxy route to FetchService
* Update changelog
2 months ago
Thomas Kaul
6dac46dcdc
Bugfix/base currency for total value calculation in public controller ( #7157 )
* Fix base currency
* Update changelog
2 months ago
Thomas Kaul
3f168bf1a7
Bugfix/exclude valueInBaseCurrency of top holdings in public portfolio endpoint ( #7155 )
* Exclude valueInBaseCurrency
* Update changelog
2 months ago
Thomas Kaul
da6956abc7
Task/refactor base url in Trackinsight service ( #7152 )
Refactor base url
2 months ago