Bug 244810 - For investment reports, use only existing prices
Summary: For investment reports, use only existing prices
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 02:21 UTC by Alvaro Soliverez
Modified: 2017-05-02 05:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Price graph (194.08 KB, image/png)
2017-05-02 05:44 UTC, NSLW
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Soliverez 2010-07-16 02:21:07 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

The investment should provide an option to display and chart only when an actual price is present.
By default, the report retrieves the conversion rates for stocks over a continuous period of time. If there is no rate for a specific date, the engine returns the price for a date before the requested one.
The engine has an option to return the rate strictly for that date, or return 0. This option should be extended to the deepCurrency and BaseCurrency conversion methods. Concurrently, the kreportchartview class should be updated to draw data points only if there is actual data.

For the moment, this should only apply to investment reports.

Reproducible: Always




This should be commited only after stable release.
Comment 1 NSLW 2017-05-02 05:44:00 UTC
Created attachment 105308 [details]
Price graph

For me it shows existing prices when I set "Skip value if price is zero".