<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Strainu onLine &#187; GNUCash</title>
	<atom:link href="http://www.strainu.ro/tag/gnucash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strainu.ro</link>
	<description>Blogul unui automatist</description>
	<lastBuildDate>Fri, 28 Oct 2011 15:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Romanian Funds prices in GNUCash</title>
		<link>http://www.strainu.ro/projects/romanian-funds-prices-in-gnucash/</link>
		<comments>http://www.strainu.ro/projects/romanian-funds-prices-in-gnucash/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 18:50:34 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Finance::Quote]]></category>
		<category><![CDATA[fonduri de investiţii]]></category>
		<category><![CDATA[Funds]]></category>
		<category><![CDATA[GNUCash]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.strainu.ro/?p=603</guid>
		<description><![CDATA[Fig. 1: The Add Security window in GNUCash After the Bucharest Stock Exchage Module for Finance::Quote, I made another module, to retrieve the values of the Romanian Mutual Funds. The data is extracted from the Kmarket website which prooved to be a useful resource. Here is how you can add this package to your own [...]]]></description>
			<content:encoded><![CDATA[<div>
<dl id="attachment_551" style="width: 310px;">
<dt><a href="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_1.jpg"><img title="bse_gnucash_1" src="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_1-300x174.jpg" alt="The &quot;Add security&quot; Window" width="300" height="174" /></a></dt>
<dd>Fig. 1: The Add Security window in GNUCash</dd>
</dl>
</div>
<p>After the<a href="http://www.strainu.ro/projects/bse-stock-prices-in-gnucash/" target="_blank"> Bucharest Stock Exchage Module</a> for Finance::Quote, I made another module, to retrieve the values of the Romanian Mutual Funds. The data is extracted from the <a href="http://www.kmarket.ro" target="_blank">Kmarket</a> website which prooved to be a useful resource.</p>
<p>Here is how you can add this package to your own system:</p>
<ol>
<li><strong>Install Perl</strong>. If you&#8217;re using Linux, you probably already have it. Write <em>perl -v</em> to find out the version you have. If you&#8217;re using Windows, <a href="http://www.activestate.com/activeperl/" target="_blank">ActivePerl</a> or <a href="http://strawberryperl.com/" target="_blank">Strawberry Perl</a> should do the trick.</li>
<li><strong>Install Finance::Quote</strong>. GNUCash offers an automated program to do that.
<ol>
<li>Make sure GNUCash is not running.</li>
<li>In Linux, open a root shell and write <em>update-finance-quote</em>. In Windows, go to the start menu and you will find a shortcut to a BAT file called &#8220;Install Online Price Retreival&#8221;.</li>
</ol>
</li>
<li>For now, the script is not yet included in Finance::Quote and must be installed separately.
<ol>
<li>Download <a href="http://www.strainu.ro/tracker/downi.php?id=finance-quote-rofunds" target="_blank">the provided archive</a> and extract it along with the rest of the Perl scripts for Finance::Quote (you will see the download path during the installation). Make sure the <em>Finance</em> folder overwrites the current folder.</li>
<li>In the <em>Finance</em> folder you will find 2 files named <em>Quotes.pm </em>and <em>Quotes.pm.patch</em>. You can apply the patch by using the command
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">patch</span> Quotes.pm Quotes.pm.patch</div></div>
<p>On Windows, just open the <em>Quotes.pm</em> file in Notepad, search for a line that begins with <em>@modules = </em>and add <strong>ROFunds</strong> to the list of modules.</li>
</ol>
</li>
<li>Start GNUCash and go the the <em>Tools-&gt;Security Editor</em> menu. You will see a window similar to the one on the left side of Fig. 1.</li>
<li>Click on the <em>Add</em> button. A new window, just like the one on the right side of Fig. 1 will appear. Let&#8217;s say that you want to get the stock price for BT Index (a fund from Banca Transilvania Asset Management). You add the following information in that window:
<ol>
<li>Full Name: <strong>BT Index<br />
</strong></li>
<li>Symbol: <strong>BT Index</strong> (this is very important, as this is the search criteria &#8211; you need to put the full name of the fund, without diacritics, as there are no symbols)</li>
<li>Type: <strong>Funds </strong>(or whatever you want)</li>
<li>Check the <strong>Get Online Quotes</strong> checkbox. Three new options will be activated.</li>
<li>
<div>
<dl id="attachment_552" style="width: 310px;">
<dt><a href="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_2.jpg"><img title="bse_gnucash_2" src="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_2-300x155.jpg" alt="Automatic price retreival" width="300" height="155" /></a></dt>
<dd>Fig.2: Automatic price retreival</dd>
</dl>
</div>
<p>Choose <strong>Type of quote source: Unknown</strong></li>
<li>From the drop-down choose <strong>rofunds.</strong></li>
<li>Click OK twice and you&#8217;re ready to test it.</li>
</ol>
</li>
<li>Go to the <em>Tools-&gt;Price Editor</em> menu. You will see the dialog in Fig. 2. Click the <em>Get Quotes</em> button and you should see a new price appearing. You can notice the source is &#8220;Finance::Quote&#8221; and the price is the correct one for that date. If you wish, you can check it on the <a href="http://www.kmarket.ro/fonduri/fonduri.php" target="_blank">K-market website</a>.</li>
</ol>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F&amp;t=Romanian%20Funds%20prices%20in%20GNUCash" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Romanian%20Funds%20prices%20in%20GNUCash%20-%20http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=Romanian%20Funds%20prices%20in%20GNUCash&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F&amp;title=Romanian%20Funds%20prices%20in%20GNUCash&amp;bodytext=Fig.%201%3A%20The%20Add%20Security%20window%20in%20GNUCash%0D%0AAfter%20the%20Bucharest%20Stock%20Exchage%20Module%20for%20Finance%3A%3AQuote%2C%20I%20made%20another%20module%2C%20to%20retrieve%20the%20values%20of%20the%20Romanian%20Mutual%20Funds.%20The%20data%20is%20extracted%20from%20the%20Kmarket%20website%20which%20prooved%20to%20be%20a%20" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fromanian-funds-prices-in-gnucash%2F&amp;title=Romanian%20Funds%20prices%20in%20GNUCash" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/projects/romanian-funds-prices-in-gnucash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BSE stock prices in GNUCash</title>
		<link>http://www.strainu.ro/projects/bse-stock-prices-in-gnucash/</link>
		<comments>http://www.strainu.ro/projects/bse-stock-prices-in-gnucash/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 21:21:54 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Bucharest Stock Exchange]]></category>
		<category><![CDATA[BVB]]></category>
		<category><![CDATA[Finance::Quote]]></category>
		<category><![CDATA[GNUCash]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.strainu.ro/?p=548</guid>
		<description><![CDATA[GNUCash has a very good automatic price retreival utility, based on the Perl Finance::Quote library. Unfortunately, the sites it is using to get the data from don&#8217;t have any quotes from the Romanian markets. Therefore, I decided to write my own modules, and I started with the Bucharest Stock Exchange, since their data was reliable [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_551" class="wp-caption alignright" style="width: 310px"><a href="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_1.jpg"><img class="size-medium wp-image-551" title="bse_gnucash_1" src="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_1-300x174.jpg" alt="The &quot;Add security&quot; Window" width="300" height="174" /></a><p class="wp-caption-text">Fig. 1: The Add Security window in GNUCash</p></div>
<p><a href="http://gnucash.org" target="_blank">GNUCash</a> has a very good automatic price retreival utility, based on the Perl <a href="http://finance-quote.sourceforge.net/" target="_blank">Finance::Quote</a> library. Unfortunately, the sites it is using to get the data from don&#8217;t have any quotes from the Romanian markets.</p>
<p>Therefore, I decided to write my own modules, and I started with the <a href="http://www.bvb.ro" target="_blank">Bucharest Stock Exchange</a>, since their data was reliable and available in a accessible format.</p>
<p>Here is how you can add this package to your own system:</p>
<ol>
<li><strong>Install Perl</strong>. If you&#8217;re using Linux, you probably already have it. Write <em>perl -v</em> to find out the version you have. If you&#8217;re using Windows, <a href="http://www.activestate.com/activeperl/" target="_blank">ActivePerl</a> or <a href="http://strawberryperl.com/" target="_blank">Strawberry Perl</a> should do the trick.</li>
<li><strong>Install Finance::Quote</strong>. GNUCash offers an automated program to do that.
<ol>
<li>Make sure GNUCash is not running.</li>
<li>In Linux, open a root shell and write <em>update-finance-quote</em>. In Windows, go to the start menu and you will find a shortcut to a BAT file called &#8220;Install Online Price Retreival&#8221;.</li>
</ol>
</li>
<li>For now, the script is not yet included in Finance::Quote and must be installed separately.
<ol>
<li>Download <a href="http://www.strainu.ro/tracker/downi.php?id=finance-quote-bsero" target="_blank">the provided archive</a> and extract it along with the rest of the Perl scripts for Finance::Quote (you will see the download path during the installation). Make sure the <em>Finance</em> folder overwrites the current folder.</li>
<li>In the <em>Finance</em> folder you will find 2 files named <em>Quotes.pm </em>and <em>Quotes.pm.patch</em>. You can apply the patch by using the command
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">patch</span> Quotes.pm Quotes.pm.patch</div></div>
<p>On Windows, just open the <em>Quotes.pm</em> file in Notepad, search for a line that begins with <em>@modules = </em>and add <strong>BSERO</strong> to the list of modules.</li>
</ol>
</li>
<li>Start GNUCash and go the the <em>Tools-&gt;Security Editor</em> menu. You will see a window similar to the one on the left side of Fig. 1.</li>
<li>Click on the <em>Add</em> button. A new window, just like the one on the right side of Fig. 1 will appear. Let&#8217;s say that you want to get the stock price for Banca Românâ pentru Dezvoltare (symbol: BRD). You add the following information in that window:
<ol>
<li>Full Name: <strong>Banca Română pentru Dezvoltare</strong></li>
<li>Symbol: <strong>BRD</strong> (this is very important, as this is the search criteria)</li>
<li>Type: <strong>BSE </strong>(or BVB, or whatever you want)</li>
<li>Check the <strong>Get Online Quotes</strong> checkbox. Three new options will be activated.</li>
<li>
<div id="attachment_552" class="wp-caption alignright" style="width: 310px"><a href="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_2.jpg"><img class="size-medium wp-image-552" title="bse_gnucash_2" src="http://www.strainu.ro/site/wp-content/uploads/bse_gnucash_2-300x155.jpg" alt="Automatic price retreival" width="300" height="155" /></a><p class="wp-caption-text">Fig.2: Automatic price retreival</p></div>
<p>Choose <strong>Type of quote source: Unknown</strong></li>
<li>From the drop-down choose <strong>bsero.</strong></li>
<li>Click OK twice and you&#8217;re ready to test it.</li>
</ol>
</li>
<li>Go to the <em>Tools-&gt;Price Editor</em> menu. You will see the dialog in Fig. 2. Click the <em>Get Quotes</em> button and you should see a new price appearing. You can notice the source is &#8220;Finance::Quote&#8221; and the price is the correct one for that date. If you wish, you can check it on the <a href="http://www.bse.ro" target="_blank">BSE website</a>.</li>
</ol>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F&amp;t=BSE%20stock%20prices%20in%20GNUCash" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=BSE%20stock%20prices%20in%20GNUCash%20-%20http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=BSE%20stock%20prices%20in%20GNUCash&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F&amp;title=BSE%20stock%20prices%20in%20GNUCash&amp;bodytext=%0D%0A%0D%0AGNUCash%20has%20a%20very%20good%20automatic%20price%20retreival%20utility%2C%20based%20on%20the%20Perl%20Finance%3A%3AQuote%20library.%20Unfortunately%2C%20the%20sites%20it%20is%20using%20to%20get%20the%20data%20from%20don%27t%20have%20any%20quotes%20from%20the%20Romanian%20markets.%0D%0A%0D%0ATherefore%2C%20I%20decided%20to%20write%20my%20ow" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fprojects%2Fbse-stock-prices-in-gnucash%2F&amp;title=BSE%20stock%20prices%20in%20GNUCash" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/projects/bse-stock-prices-in-gnucash/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

