<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TIL: Today I Learned]]></title><description><![CDATA[TIL: Today I Learned]]></description><link>https://til.kalyan.one</link><generator>RSS for Node</generator><lastBuildDate>Tue, 26 May 2026 21:30:21 GMT</lastBuildDate><atom:link href="https://til.kalyan.one/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Track Prices of Stocks and Mutual Funds in Google Sheets]]></title><description><![CDATA[I maintain a Google speadsheet to track my investment portfolio comprising stocks and mutual funds, and needed to automate fetching prices.
Google Finance offers a simple way to do this, using the GOOGLE_FINANCE function.
There are simple tutorials f...]]></description><link>https://til.kalyan.one/track-prices-of-stocks-and-mutual-funds-in-google-sheets</link><guid isPermaLink="true">https://til.kalyan.one/track-prices-of-stocks-and-mutual-funds-in-google-sheets</guid><category><![CDATA[finance]]></category><category><![CDATA[google sheets]]></category><category><![CDATA[Investment]]></category><dc:creator><![CDATA[Kalyan Reddy]]></dc:creator><pubDate>Wed, 28 Dec 2022 07:54:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/909df4c2df69326c372aeb85f56e5896.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I maintain a Google speadsheet to track my investment portfolio comprising stocks and mutual funds, and needed to automate fetching prices.</p>
<p>Google Finance offers a simple way to do this, using the <code>GOOGLE_FINANCE</code> function.</p>
<p>There are <a target="_blank" href="https://support.google.com/docs/answer/3093281?hl=en">simple tutorials for doing this for stocks</a>.</p>
<p>You need to form the symbol attribute by combining the exchange symbol(NYSE, NASDAQ, etc) and ticker symbol (AMZN, GOOG, etc.).</p>
<p>For example, So NASDAQ:AMZN. The complete code to use to retrieve the prices is</p>
<pre><code class="lang-plaintext">=GOOGLEFINANCE("NASDAQ:AMZN")
</code></pre>
<p>If you don’t know the exchange symbol, just search for the stock on <a target="_blank" href="https://www.google.com/finance/">Google Finance</a>. The search bar will show the code to use as <code>[exchange]:[symbol]</code>.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1672213739019/5522ede9-d9ab-4cd8-b7da-f8c5a4669e0b.png" alt class="image--center mx-auto" /></p>
<p><strong>Note</strong>: Ensure that there you don't include any spaces in the symbol. <code>NASDAQ:AMZN</code> should a single literal.</p>
<hr />
<p>This also works for tracking mutual funds. For example, searching for on Google Finance UTI Nifty 50 Index Fund will return:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1672213917559/bb6a49ca-6e4f-4791-90ba-bee79a81f9f5.png" alt class="image--center mx-auto" /></p>
<p>So you would use the code as:</p>
<pre><code class="lang-plaintext">=GOOGLEFINANCE("MUTF_IN:UTI_NIFT_50_FGX2CX")
</code></pre>
]]></content:encoded></item></channel></rss>