Bug 426563

Summary: Stock price import
Product: [Frameworks and Libraries] libalkimia Reporter: Suresh PB <spillaip>
Component: Online Quotes EditorAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: wishlist CC: spillaip
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Suresh PB 2020-09-15 14:25:11 UTC
SUMMARY
Currently the File->Import->Stock Price imports for a single stock only.  Request to allow for multiple stocks to be updated using a CSV.  

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2020-09-19 10:28:50 UTC
Move this over to the libalkimia project which will eventually used by KMyMoney for stock price download.
Comment 2 Suresh PB 2020-09-29 12:50:03 UTC
A workaround

Create a price file for multiple stocks/mutual funds mention as unit 1 and actual price.  Import using CSV option.  Price is updated automatically.  Delete the dummy entries.

Hope this helps
Comment 3 Jack 2020-09-29 14:24:17 UTC
I don't understand what you are suggesting, but deleting data from your financial records (even if only price data) seems against any principles or practices of good accounting.  Are you suggesting to create an import file with a purchase of multiple stocks/funds, so when you delete the purchase transactions the created price entries remain?  That's interesting, but still troubling, since the price entry will say it was created by a transaction, but no such transaction will exist.
Comment 4 Suresh PB 2020-09-29 14:32:11 UTC
(In reply to Jack from comment #3)
> I don't understand what you are suggesting, but deleting data from your
> financial records (even if only price data) seems against any principles or
> practices of good accounting.  Are you suggesting to create an import file
> with a purchase of multiple stocks/funds, so when you delete the purchase
> transactions the created price entries remain?  That's interesting, but
> still troubling, since the price entry will say it was created by a
> transaction, but no such transaction will exist.

(In reply to Suresh PB from comment #0)

> SUMMARY
> Currently the File->Import->Stock Price imports for a single stock only. 
> Request to allow for multiple stocks to be updated using a CSV.  
> 
> STEPS TO REPRODUCE
> 1. 
> 2. 
> 3. 
> 
> OBSERVED RESULT
> 
> 
> EXPECTED RESULT
> 
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 
> KDE Frameworks Version: 
> Qt Version: 
> 
> ADDITIONAL INFORMATION

Yes, this is against the principles, but as a workaround to import multiple stock prices this process helps. Do you see any issue?