Anatoly Popov
3db52eaf29
feat: get an url for asset if yahoo has it
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
6 months ago
Anatoly Popov
d0ccc8be66
fix: gold and other things aren't stocks and has their own boards
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
6 months ago
Anatoly Popov
5ad22d68ec
feat: support security from MOEX via MOEX api
**Justification**
My main portfolio is on MOEX, so I need a way to manage it. Ghostfolio looks
cool but there's no way to proper manage assets on MOEX. So, first I've found
`moex-iss-api` npm package. Turns out it needed some help, so couple of PR
there. After that I was ready to work on ghostfolio.
This commit implements full `DataProviderInterface` spec:
- Disabled by default, so only those who need it would enabled it.
- We `canHandle` all symbols
- We aren't premium feature
- `getQuotes`, `getHistorical` and `search` were pretty straightforward
- `getTestSymbol` return `SBER` because if something happens to `SBER` stocks
then MOEX would definetely doesn't matter anymore for sometime.
- `getAssetProfile` and `getDividends` proved to be tricky to implement, so
I'll cover them below separately.
**getAssetProfile**
**Currency**
This is main method to get info about assets. Unfortunately, due to fall of
USSR and ruble denomination in 1998, we have three currency tickers: 'RUR',
'SUR', 'RUB' For convenience we use 'RUB' instead of all of them. I don't see
practical value to differentiate between them here, but I'm open to suggestions.
Also, some of the tickers do not return currency in which they're listed on
MOEX. Assumed that it's also 'RUB'.
**Name**
Every asset can have several things to identify it. And all of them are
optional in MOEX API, except `secid` which is `Security ID`. So we use them
for name in this order of preference:
1. Latin (usually English) name.
2. Latin short name.
3. Russian name.
4. Security ID.
**Country**
I try to detect country, parsing ISIN: first two letters should be country code.
**Sectors**
MOEX supports some industry related indices, so when we first encounter some
symbol, I check whether it's in those indices and assign sectors accordingly.
**AssetClass and AssetSubClass**
At first, I was tempted to leave them empty, but finally decided to look into.
I downloaded all asset types from MOEX and tried to best of my knowledge assign
asset classes and subclasses. If I wasn't able to find proper relation, I left
the cell empty. After that I took the table (you can check it in the comments
in the code) and made `SecurityTypeMap` interface.
**getDividends**
MOEX API for dividends isn't documented at all (or probably I didn't find
proper docs) and sometimes it doesn't return the newest dividends. Surprisingly,
you can get dividends for MOEX-related assets from YAHOO, but the date can
differ. So, there is heurestic implemented: if those date are no more than two
days apart and payout is the same, then it's the exact same payout and we
merge them.
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
6 months ago
Anatoly Popov
c4fb8af45d
fix: if yahoo service returns zero quotes do not fail enhance request
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
5 months ago
Anatoly Popov
266be1f7ed
fix: don't fail whole request if one of providers fails, but log it
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
5 months ago
Thomas Kaul
edba53be29
Bugfix/fix missing assetlinks.json for TWA ( #4855 )
* Fix command for copying assetlinks.json
* Update changelog
5 months ago
Tobias Kugel
3bcb19af14
Feature/migrate i18n service to injectable service ( #4829 )
* Migrate i18n service to injectable service
* Update changelog
5 months ago
Thomas Kaul
66e430ab9a
Feature/add background gradient to sidebar navigation ( #4850 )
* Add background gradient to sidebar navigation
* Update changelog
5 months ago
Thomas Kaul
042112faa6
Feature/improve language localization for de 20250607 ( #4848 )
* Update translation
* Update changelog
5 months ago
Thomas Kaul
b3ec353074
Feature/change interpolation syntax in i18n service ( #4849 )
* Change interpolation syntax from {var} to ${var}
5 months ago
github-actions[bot]
1d29005736
Feature/update locales ( #4834 )
* Update locales
* Update translations
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
5 months ago
Alison Hawk
31f5c0de88
Bugfix/fix import of empty account balances ( #4677 )
* Fix import of empty account balances
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
5 months ago
Thomas Kaul
1dd3857618
Refactor getCashPositions() in portfolio service ( #4800 )
* Refactor getCashPositions()
5 months ago
Alesky Zakarin
c318e0019e
Feature/improve language localization for TR 20250606 ( #4844 )
* Improve language localization for TR
* Update changelog
5 months ago
Terry Casper
f87dc437fd
Feature/improve language localization for ES 20250605 ( #4833 )
* Improve language localization for ES
* Updated Changlog
5 months ago
Thomas Kaul
e2ec635bbf
Feature/localize X-ray rule EmergencyFundSetup ( #4835 )
* Set up language localization for static portfolio analysis rule: Emergency Fund (Set up)
* Update changelog
5 months ago
Andy (Truongan) Vo
7d2bb2116f
Bugfix/enable import button in import activities dialog ( #4791 )
* Enable import button in import activities dialog
* Update changelog
5 months ago
Tobias Kugel
fde8ff4bb6
Feature/localize X-ray rule FeeRatioInitialInvestment ( #4779 )
* Localize X-ray rule FeeRatioInitialInvestment
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
5 months ago
Thomas Kaul
8cee03f16a
Feature/upgrade Nx to version 21.1.2 ( #4809 )
* Upgrade Nx to version 21.1.2
* Update changelog
5 months ago
Thomas Kaul
85af3db0d8
Bugfix/respect filter by holding when exporting activities ( #4824 )
* Respect filter by holding when exporting activities
* Update changelog
5 months ago
Thomas Kaul
ccee5b1337
Bugfix/respect filter by holding when deleting activities ( #4823 )
* Respect filter by holding when deleting activities
* Update changelog
5 months ago
Thomas Kaul
9366aea9d5
Feature/improve style of card components ( #4812 )
* Improve style of title
* Update changelog
5 months ago
github-actions[bot]
de56a35197
Feature/update locales ( #4819 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Fabio Carlos
3efe09d3eb
Feature/improve language localization for ES 20250602 ( #4814 )
* Improve language localization for ES
* Update changelog
5 months ago
Thomas Kaul
a11fef5e23
Bugfix/fix exception with currencies in historical market data editor of admin control panel ( #4813 )
* Fix exception with currencies
* Update changelog
5 months ago
Thomas Kaul
15deed3032
Feature/upgrade Stripe dependencies 20250529 ( #4662 )
* Upgrade Stripe dependencies
* Upgrade ngx-stripe to version 19.7.0
* Update changelog
5 months ago
Thomas Kaul
8b8d194383
Feature/clean up legacy demo user id property ( #4808 )
* Clean up
5 months ago
github-actions[bot]
c59d2701f0
Feature/update locales ( #4807 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Thomas Kaul
90f2e8101c
Feature/improve style of system message ( #4806 )
* Improve style of system message
* Update changelog
5 months ago
Thomas Kaul
7342e7e5ec
Feature/support creating custom tags in create or update activity dialog ( #4801 )
* Support creating custom tags in create or update activity dialog
* Update changelog
5 months ago
Fabio Carlos
ef8bbf1ae8
Feature/improve language localization for TR 20250531 ( #4803 )
* Improve language localization for TR
* Update changelog
5 months ago
Thomas Kaul
9757df859f
Feature/improve data providers management style of admin control panel ( #4804 )
* Various style improvements
5 months ago
Aris Hadrian
32baf1946c
Feature/improve language localization for UK 20250531 ( #4802 )
* Improve language localization for UK
* Update changelog
5 months ago
github-actions[bot]
b66e60e9f4
Feature/update locales ( #4798 )
* Update locales
* Update translations
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
5 months ago
Thomas Kaul
cb7434a8b2
Feature/sync demo account activities based on tags ( #4797 )
* Sync demo account activities based on tags
* Update changelog
5 months ago
Diego Noah
cf76f54c1c
Feature/improve language localization for CA 20250531 ( #4796 )
* Improve language localization for CA
* Update changelog
5 months ago
Thomas Kaul
fda9cc71f7
Feature/modularize cron service ( #4795 )
* Modularize cron service
* Update changelog
5 months ago
Thomas Kaul
c553fdf6d4
Bugfix/change investment value to take currency effects into account in holding detail dialog ( #4789 )
* Change investment value to take currency effects into account
* Update changelog
5 months ago
github-actions[bot]
03b04ac7f0
Feature/update locales ( #4792 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Thomas Kaul
c6e38cd4ac
Feature/refresh cryptocurrencies list 20250529 ( #4790 )
* Update cryptocurrencies.json
* Update changelog
5 months ago
Thomas Kaul
daedfd6ad6
Feature/various style improvements ( #4788 )
* Various style improvements
5 months ago
Hala Jeet
824985b464
Feature/improve language localization for PL 20250529 ( #4786 )
* Improve language localization for PL
* Update changelog
5 months ago
Jakub Nowak
62e304490d
Feature/improve language localization for ES 20250529 ( #4785 )
* Improve language localization for ES
* Update changelog
5 months ago
Thomas Kaul
5db5fd903e
Feature/extend FAQ section by performance calculation method ( #4773 )
* Extend FAQ by performance calculation method
* Update changelog
5 months ago
Thomas Kaul
9e74eec04d
Feature/rename orders to activities in Tag database schema ( #4783 )
* Rename orders to activities in Tag database schema
* Update changelog
5 months ago
Turka Turki
9f3079716b
Feature/improve language localization for NL 20250528 ( #4776 )
* Improve language localization for NL
* Update sitemap.xml
* Update changelog
5 months ago
Tasin Williamson
a8e48be9da
Feature/improve language localization for NL 20250528 ( #4775 )
* Improve language localization for NL
* Update changelog
5 months ago
Thomas Kaul
0ab7b98077
Feature/refactor publicly accessible page paths ( #4768 )
* Refactoring
5 months ago
Scott Rose
316d118111
Feature/improve language localization for FR 20250527 ( #4766 )
* Improve language localization for FR
* Update sitemap.xml
* Update changelog
5 months ago
github-actions[bot]
6c1273dc8a
Feature/update locales ( #4774 )
* Update locales
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago