How to value direct bond holdings on Google Docs?

Discussion of the Bond portion of the Permanent Portfolio

Moderator: Global Moderator

User avatar
dualstow
Executive Member
Executive Member
Posts: 14292
Joined: Wed Oct 27, 2010 10:18 am
Location: synagogue of Satan
Contact:

Re: How to value direct bond holdings on Google Docs?

Post by dualstow »

fnord123 wrote: I find the PRICE() function often doesn't match the actual price of the bonds as reported by Fidelity or the WSJ, so I do the following:
  1. Import the table of prices from the WSJ:  =importhtml("http://wsj.com/mdc/public/page/2_3020-treasury.html", "table",0)
  2. Use the VLOOKUP funciton to get the exact current price of the bond by maturity date, e.g.: =vlookup(date(2042,11,15),A165:C440,3,FALSE)
I've been using the above, but there seems to be a discrepancy between the WSJ table and other sources.
For example, CUSIP 912828VQ0 with maturity date 7/31/18 (this is just a 5-year note in my vp) -->
Using the WSJ table, it's got a price of $104 and change.
But, according to both Vanguard and something I found online called treasurywiki.appspot.com, it's closer to $100 and change. Hmm.
http://treasurywiki.appspot.com/treasur ... n-xTZR_WKE
9pm EST Explosions in Iran (Isfahan) and Syria and Iraq. Not yet confirmed.
fnord123
Executive Member
Executive Member
Posts: 233
Joined: Sun Apr 25, 2010 9:33 pm

Re: How to value direct bond holdings on Google Docs?

Post by fnord123 »

I just looked at the price for the 02/15/2039 treasury. Here's what I found:
Vanguard: $95.781
WSJ: $95.789
TreasuryWiki: $97.64
PRICE(): $93.804
Fidelity: $95.671

At least for 02/15/3029, I find WSJ/Vanguard/Fidelity are all pretty close to each other, with TreasuryWiki being 2% high and PRICE() being 2% low.
User avatar
dualstow
Executive Member
Executive Member
Posts: 14292
Joined: Wed Oct 27, 2010 10:18 am
Location: synagogue of Satan
Contact:

Re: How to value direct bond holdings on Google Docs?

Post by dualstow »

I don't know why, fnord, but whenever I look at long bonds, the prices seem to be more accurate and closer to each other. It's the 5-year notes that seem to have such a discrepancy. Strange.
9pm EST Explosions in Iran (Isfahan) and Syria and Iraq. Not yet confirmed.
User avatar
Kriegsspiel
Executive Member
Executive Member
Posts: 4052
Joined: Sun Sep 16, 2012 5:28 pm

Re: How to value direct bond holdings on Google Docs?

Post by Kriegsspiel »

Bump.

fnord, what exactly are you putting into the google docs spreadsheet with those two formulas? What is the vlookup one referring to?
You there, Ephialtes. May you live forever.
TrevorShrade
Junior Member
Junior Member
Posts: 5
Joined: Fri Dec 20, 2013 4:45 pm

Re: How to value direct bond holdings on Google Docs?

Post by TrevorShrade »

Here try this:

=ImportXml("http://wsj.com/mdc/public/page/2_3020-t ... tml","//tr[td='2/15/2042']/td[3]")

Just change 2/15/2042 to the maturity date of the Bond you wish to lookup.  If you want to pull other data from the tables at http://wsj.com/mdc/public/page/2_3020-treasury.html  you can change the number 3 to whichever column you wish to pull data from.



Or if you already have a cell with the maturity date listed:

=ImportXml("http://wsj.com/mdc/public/page/2_3020-t ... tml","//tr[td='"&B14&"']/td[3]")

Just change B14 to the cell that contains the maturity date in M/D/YYYY format. 
Last edited by TrevorShrade on Sat Jan 30, 2016 2:13 am, edited 1 time in total.
User avatar
Kriegsspiel
Executive Member
Executive Member
Posts: 4052
Joined: Sun Sep 16, 2012 5:28 pm

Re: How to value direct bond holdings on Google Docs?

Post by Kriegsspiel »

Cool, thanks man.
You there, Ephialtes. May you live forever.
Jack Jones
Executive Member
Executive Member
Posts: 527
Joined: Mon Aug 24, 2015 3:12 pm

Re: How to value direct bond holdings on Google Docs?

Post by Jack Jones »

Does this page make sense to anyone?

http://wsj.com/mdc/public/page/2_3020-t ... #treasuryB

Take for example the 1/5/2017 bill. Ask is 0.325 which is supposedly the "discount to face value". So my interpretation of that is someone was willing to sell the bill for $1000 - 0.325 = $999.675. My intuition says that is incorrect because the bill matures in a few days. I must be looking at this wrong.
Post Reply