![]() KDE Developer ![]()
|
Did you make the change to kmymoneyrc without KMyMoney running? If yes, I am out of ideas why you see this error. The only place where Malformed URL shows in the KMyMoney source tree is when saving the KMyMoney data file has a problem. But that certainly is not the case here.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Yes, I edited kmymoneyrc with KMyMoney closed ![]() |
![]() Registered Member ![]()
|
@All : Alrigth new minor problem, now that BTC is coming increasingly high .. fx-rate started displaying CAD to BTC price as 7.2482e-5 Bitcoin (scientific notation), which kinda screw the REGEX reading for that particular pair ... however everything else in KMyMoney seems to be based on BTC to CAD. Nonetheless, are there anyone REGEX wizard here that alter the Price : part of REGEX to support scientific notation ? EDIT : Also Question 2 - how can I change the currency to 4 decimal digits precision ? |
![]() KDE Developer ![]()
|
Answer 1: Having a price in a scientific notation is (currently) not supported. I doubt that we can change the value from the scientific to normal representation using a regex.
Answer 2: Do you mean the precision of the currency or the price?
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
hum, Question 2 : I meant the price but after further look .. it is 4 digit, and configurable in the general options. My bad. But now that you mention about the precision of the currency, a minor annoyance I'm encountering is that my bitcoin accounts are displaying only 2 digit. is this customizable somewhere ? |
![]() KDE Developer ![]()
|
Not via the UI. You can try to modify that directly in your data file. Make sure to have a backup of it before you fiddle around. Search for the following line:
Here's a bit of documentation regarding the file formats provided/used by KMyMoney. What would be a good default for saf and scf for Bitcoins? We can certainly adjust the source for future users.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Very interesting discussion! I just registered to be a part of it!
![]() I have some cryptocurrencies that are not very popular (like MONA or OK). I'd like to add them to my KMyMoney as an investment. It works perfect for BTC with the Google Finance settings that you provided. But the only website I found listing all of the crypto prices is Coingecko. Unfortunately I cannot find the right regex to extract price and date. Can anybody help me? URL is https://www.coingecko.com/de/munze/%1 (or /en/coins/%1 for english users). Thank you very much in advance!!! ![]() |
![]() Registered Member ![]()
|
Why not use https://finance.yahoo.com/quote/ again?
Put "Skip HTML string". I can not write the code for the date. But I receive the current price. |
![]() Registered Member ![]()
|
Hi all,
yea I coming back from the dead to this thread to try to solve another problem ... As theravet was mentionning, I too have other cryptocurrencies that I starting to get annoy to update manually ... I'll try to work on the regex for Coingecko and/or coinmarketcap and see what i get ... but this will still lead to 1 other issue : it will just do crypto ... not real investments (stocks, funds, etc.). The work around for this would be to another another source which will be named "Yahoo Currency (crypto)" but rename to "Yahoo Currency" when we want to gather the latest crypto quotes |
![]() Registered Member ![]()
|
Sorry for the delay, and thanks for the advice, I did notice that this is for a data file saved in .xml format ... not .kmy but no worries .. that is indeed better to use that format is I want to specifically work on stuff. Changing the thing worked perfectly, and to answer your question, I would say 4 digits of precision is good for now (allow the granularity to be equivalent to more or less 1 USD). However, if development lead the way I think they will lead, I would be surprise that raising to 6 and or more would be better in the near future. Rationale 1 : Increase in BTC value. Rationale 2 : development of Lightning Network, allowing a better usage of IoT money-terization and payments (i.e. millions of sub-pennies transactions) ... In Summary, keeping the door open would be good. How about working on a flexible way of expressing currencies, similar to what is frequently used in crypto world : 1 BTC / 1000 = 1 mBTC ; 1 mBTC / 1000 = 1 uBTC ; 1 uBTC / 100 = 1 sat (divided by one hundred indeed not a typo, special unit "satoshi") Can KMymoney be wise enough to detect fractional unit so small (Or so big as well), and adjust with the appropriate Metric prefix ? That being said I would assume that this could be a good addition to any currency. Expression a bank account in in 8-9 digit range could be useful as 15 787 K$. |
![]() Registered Member ![]()
|
I've changed the setting of Yahoo Currency according the instructions from ipwizard and get the folloing error:
Preis für USD > EUR kann nicht aktualisiert werden (kein Preis oder kein Datum |
![]() Registered Member ![]()
|
I now made it finally work!!!! Yahooooooo!!!! No, not yahoo, other sources...
![]() Following code for German users. For my funds (symbol has to be the ISIN):
For my cryptos (symbol has to be the name as in the URL):
For currencies (change the Yahoo Currency source!):
Thanks to alainpetit and ipwizard for the last one! ![]() |
![]() Registered Member ![]()
|
I updated broken sites to get quotes: viewtopic.php?f=69&t=138308&start=15#p407773
|
![]() KDE Developer ![]()
|
KMyMoney recently received the ability to process prices in scientific notation. See the bug entry for more details.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Hello, try this free api: https://s.fx-w.io/latest/en.json from https://fx-w.io/about
available 67 languages
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]