How to debug “There was a system error retrieving the price quotes” in Gnucash Finance::Quotes on Linux

There was a system error retrieving the price quotes. This error is a debugging nightmare as it is not specific, gives no clue as to where the error lies and there is no easy debugging mechanism to find out what went wrong. Nonetheless, all is not lost. In order to debug the problem, open a … Continue reading How to debug “There was a system error retrieving the price quotes” in Gnucash Finance::Quotes on Linux

How to overcome erratic retrieval of stock quotes from the BSE India website in Gnucash Finance::Quotes MumbaiStock module

The below Perl code segment was used in the Finance::Quotes::MumbaiStock module which is used to retrieve stock quotes from BSE India. #Fetch the file using user_agent #$ua = $quoter->user_agent; Replaced by get_user_agent $ua = $quoter->get_user_agent(); #make user_agent as empty for conducive server response $ua->agent(''); $url = "$MSTK_URL"; $reply = $ua->mirror($url, $MSTK_ZIP); If $ua was made … Continue reading How to overcome erratic retrieval of stock quotes from the BSE India website in Gnucash Finance::Quotes MumbaiStock module

How to change the price retrieval source for stock quote to Yahoo as JSON in GnuCash

Recently, I wanted to change the stock quote source for the stocks in GnuCash. To do so, follow the steps below: To retrieve the stock quotes for National Stock Exchange or Bombay Stock Exchange in India, use Yahoo as JSON as the source. To find the stock quote and abbreviation, visit the Yahoo Finance at … Continue reading How to change the price retrieval source for stock quote to Yahoo as JSON in GnuCash

How to enable greyed out Get Quotes button in GnuCash for stock quotes retrieval

On fresh install of Xubuntu 20.04 LTS, it was noticed that the Get Quotes button on the Price Editor option of GnuCash was greyed out. To diagnose this, open a terminal window and enter the following commands:$ gnc-fq-check <enter> The error Can't locate Finance/Quote/Yahoo/Asia.pm in @INC is displayed. This means that the Finance::Quotes module is … Continue reading How to enable greyed out Get Quotes button in GnuCash for stock quotes retrieval

How to update Currency Quotes in GnuCash on Ubuntu

If you use GnuCash on Ubuntu 16.04 LTS, then this will apply to you. Over last few months, I have not been able to get stock quotes or currency updates for stocks on the NYSE, NASDAQ, Yahoo Finance. The reason is that Yahoo Finance Finance::Quotes module does not work anymore to fetch the quotes and … Continue reading How to update Currency Quotes in GnuCash on Ubuntu

How to debug MumbaiStock.pm with Finance::Quotes

After creating or editing any of the Finance::Quotes modules you need to test them. To test, open a terminal window and do the following to check if the module gives any errors: Copy the modified module to the Finance/Quotes folder$ sudo cp MumbaiStock.pm /usr/share/perl5/Finance/Quote/MumbaiStock.pm <enter> Check if the code has any syntax errors$ perl -e … Continue reading How to debug MumbaiStock.pm with Finance::Quotes

How to create a new stock quote source for Gnucash using Finance::Quote

This post is for technical users. The objective is to share how the MumbaiStock.pm module was created. Visit this other post to know how to add the MumbaiStock.pm to Gnucash. Problem:Gnucash is used to manage personal finances. Gnucash can retrieve online price quotes from the NSE or the BSE through Yahoo Finance. Unfortunately, Yahoo Finance … Continue reading How to create a new stock quote source for Gnucash using Finance::Quote

Find India Mutual Fund 6 digit AMFI Symbol code for Gnucash

Gnucash has the capability to retrieve and update your portfolio with the Indian Mutual Funds online quotes that it can find from the AMFI website at this link http://www.amfiindia.com. AMFI publishes the NAVs of every Indian Mutual Fund scheme on it's website at this link https://www.amfiindia.com/spages/NAVAll.txt. Gnucash picks the NAV prices from it. When you … Continue reading Find India Mutual Fund 6 digit AMFI Symbol code for Gnucash

Set up Gnucash to fetch or retrieve Online Mutual Fund Quotes (India Mutual Funds)

If you are a user of Gnucash http://www.gnucash.org, you have options to enable it to retrieve online mutual fund quotes. Here we will see how to retrieve the Indian Mutual Fund Schemes quotes. Gnucash is an open source, cross-platform, operating system independent, personal finance manager. It works on Linux, Windows and Mac. Explained below is … Continue reading Set up Gnucash to fetch or retrieve Online Mutual Fund Quotes (India Mutual Funds)