How to debug 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
$ cd /usr/share/perl5/Finance/Quote <enter>
$ sudo cp ~/ . <enter>
$ cd ~ <enter>
$ gnc-fq-check <enter>

If above command returns any errors, then modify the to fix them, else, if it returns the list of modules, check if it includes mumbaistock. If so, then you are good to move further below.
$ gnc-fq-dump mumbaistock 560010 <enter>

This will print the stock quote.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s