-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New dashboard widget to show the timeliness of security prices #2990
base: master
Are you sure you want to change the base?
New dashboard widget to show the timeliness of security prices #2990
Conversation
Hallo @ma4nn Perhaps it can also be taken into account if the quotes are not retrieved on weekends or holidays (TradeCalendar.java / TradeCalendarManager.java)? Alex |
@Nirus2000 good points, thanks for your feedback 👍 My goal was to keep the implementation simple, that's why I chose the same logic as already applied in the SecuritiesTable view. Speaking of making the interval configurable I see 2 options:
Regarding the Looking forward to your feedback on that. |
Hello @ma4nn
Yes, that's what I meant. With the "SecuritiesTable" it would be actually quite cool, if the date is exceeded, that an "event" is indicated.
I would leave "ReportingPeriodConfig" as it is and create a new one. If necessary, this can also be better adapted later.
That's a very good point. I didn't think of that at first. Greetings |
@ma4nn |
@Morpheus1w3 @Nirus2000 thanks for pointing in the right direction with the trade calendar, didn't know that part of the code yet 😊 While implementing the trade calendar change I came up with a little more advanced solution to display the timeliness for each widget and did implement the trade calendar adaptions there, but in case everybody likes the timeliness widget in this PR better I can also apply the changes back into this branch of course. One still open point is the place where to put the configuration for "older than X days". |
Hello @ma4nn I would like it better if a list of securities is displayed, for which securities the quotes are not up to date since X days. This could then be displayed in the tooltip. I would also do without the yellow dot. This creates NPE on the one hand and on the other hand you see this only well in DarkMode. (see video) widget_ma4nn.mp4I have thought about the preferences again. I think you are absolutely right that we should create a new subgroup in the settings. Here it would also make sense to move the setting Greetings |
@Nirus2000 thanks for your detailed feedback, Alex.
That's already how it is implemented, i.e. 92% of the prices are not OK in this case (perhaps the example was not that good).
👍
Yes, the implementation is not final yet, just a first draft to test the feasibility. The color could be changed and the exception should not occur of course (though I was not able to reproduce it yet).
👍 Ok so as a summary from this thread and the forum I think the best would be to have 2 separate PRs a) this one with the new single timeliness widget and b) a new PR for the "yellow dot" next to each widget. I'll convert this PR into draft mode until that implementation is finished. |
6fd2433
to
ad73b3b
Compare
…unit tests, added new configuration tab for quotes and moved existing config setting to update quotes on startup there, included list of stale securities into tooltip
3f5fec6
to
c879dd6
Compare
@Nirus2000 rebased this PR to latest |
This PR suggests a new dashboard widget that shows how many security prices are older than 7 days.
This allows to better interpret the values on the dashboard and to find errors faster.
Issue: https://forum.portfolio-performance.info/t/dashboard-widget-kursqualitat-kursalter-kursvollstandigkeit/21903