Gold CEF premium/discount tracking

Discussion of the Gold portion of the Permanent Portfolio

Moderator: Global Moderator

Post Reply
User avatar
foglifter
Executive Member
Executive Member
Posts: 636
Joined: Tue Apr 27, 2010 5:37 pm
Location: The Golden State

Gold CEF premium/discount tracking

Post by foglifter »

I always hated having to go to the gold fund's website to check the current NAV premium/discount. So I spent some time playing with XPath and Google spreadsheets and figured out a formula to get the current premium/discount into a cell in the Google spreadsheet. Hopefully it'll be useful for those of you who use Google docs. For now I have formulas for GTU and PHYS:

GTU

Code: Select all

=importXml("http://www.gold-trust.com/asset_value.htm"; "//table/tr[9]/td[4]")
PHYS

Code: Select all

=importXml("http://www.sprottphysicalgoldtrust.com/Net-Asset-Value/default.aspx"; "//div[@class='DiscountCalculationDiv']/span")
I haven't used Morningstar data because they show day-old numbers for both NAV and premium/discount.
"Let every man divide his money into three parts, and invest a third in land, a third in business, and a third let him keep in reserve."
- Talmud
steve
Executive Member
Executive Member
Posts: 265
Joined: Mon Jul 26, 2010 2:06 pm

Re: Gold CEF premium/discount tracking

Post by steve »

User avatar
foglifter
Executive Member
Executive Member
Posts: 636
Joined: Tue Apr 27, 2010 5:37 pm
Location: The Golden State

Re: Gold CEF premium/discount tracking

Post by foglifter »

Thanks for sharing, steve! Now I won't fall into reinventing the wheel.  ;D
"Let every man divide his money into three parts, and invest a third in land, a third in business, and a third let him keep in reserve."
- Talmud
brajalle
Associate Member
Associate Member
Posts: 26
Joined: Thu Jul 08, 2010 12:20 am

Re: Gold CEF premium/discount tracking

Post by brajalle »

GTU has issues on that sheet.
steve
Executive Member
Executive Member
Posts: 265
Joined: Mon Jul 26, 2010 2:06 pm

Re: Gold CEF premium/discount tracking

Post by steve »

brajalle wrote: GTU has issues on that sheet.
That happens from time to time just check it later.
I made my own excel sheet that will give me up to the minute premium and discount but I have to manually get spot price of gold etc and I also have to get real time prices manually. It doesn't depend on importing data from the web where a site could be having problems updating. When I do it manually if one site is down I can get info from another. I can also check level two real time stock quotes. I also have to update it manually every so often if GTU etc has an offering and new shares are created and also the cash needs updating etc.
With all that being said, I just rebalance when necessary, I only did this this for my own education.
fnord123
Executive Member
Executive Member
Posts: 233
Joined: Sun Apr 25, 2010 9:33 pm

Re: Gold CEF premium/discount tracking

Post by fnord123 »

steve wrote:When I do it manually if one site is down I can get info from another.
Note that it is possible to automate this, that is, have a spreadsheet automatically check several websites and pick the one that is working as a data source.  For instance, in my PP tracking spreadsheet, I like to keep track of the current price I could get for my Gold Eagles.  I get buy prices from several places, including ApMex (using the ImportHtml() spreadsheet command) and BullionDirect (same command).  Let's assume I have the ApMex buy price in cell G1, and the BullionDirect buy price in cell G2.  I can then pick whichever is working currently by doing the following:

=iferror(G1,G2)

This can be extended with multiple sources to try for data - e.g. imagine I started using Tulving as a third source of buy prices (does he have them?) and put the resulting buy price in cell G3, then I could do:

=iferror(G1,iferror(G2,G3))
Post Reply