Problems getting bond quotes via fidelity?

General Discussion on the Permanent Portfolio Strategy

Moderator: Global Moderator

Post Reply
MikeK
Associate Member
Associate Member
Posts: 29
Joined: Thu Jan 05, 2012 8:43 am

Problems getting bond quotes via fidelity?

Post by MikeK »

I'm using a google docs spreadsheet to track my portfolio and the recommended method for getting the current prices for treasuries seems to be broken.  Anyone else having the same issue?

Here's the cell contents for fetching the current price:

Code: Select all

=index(ImportHtml("http://fixedincome.fidelity.com/fi/FIBondDetails?ordersystem=AORD&cusip=CUSIP",1,10),5,2)
All I'm getting back is 'N/A'.  If I bring up the same URL in a browser, I see what looks like current information.  Did Fidelity move things around?

mike
User avatar
jason
Executive Member
Executive Member
Posts: 248
Joined: Mon Jun 10, 2013 4:10 pm

Re: Problems getting bond quotes via fidelity?

Post by jason »

MikeK wrote: I'm using a google docs spreadsheet to track my portfolio and the recommended method for getting the current prices for treasuries seems to be broken.  Anyone else having the same issue?

Here's the cell contents for fetching the current price:

Code: Select all

=index(ImportHtml("http://fixedincome.fidelity.com/fi/FIBondDetails?ordersystem=AORD&cusip=CUSIP",1,10),5,2)
All I'm getting back is 'N/A'.  If I bring up the same URL in a browser, I see what looks like current information.  Did Fidelity move things around?

mike
I am having the exact same problem.  Hopefully, someone will post a fix.
User avatar
WildAboutHarry
Executive Member
Executive Member
Posts: 1090
Joined: Wed May 04, 2011 9:35 am

Re: Problems getting bond quotes via fidelity?

Post by WildAboutHarry »

I use a Python program to extract the price information with that URL, and it still works for me.
It is the settled policy of America, that as peace is better than war, war is better than tribute.  The United States, while they wish for war with no nation, will buy peace with none"  James Madison
flyingpylon
Executive Member
Executive Member
Posts: 1142
Joined: Fri Jan 06, 2012 9:04 am

Re: Problems getting bond quotes via fidelity?

Post by flyingpylon »

I took a quick look at the html source of the page at Fidelity and it doesn't seem to have changed.  From what I can tell the formula "should" still work.  But unfortunately, I'm not able to spend any more time on it right now.  Perhaps it will magically start working again given some time.
User avatar
jason
Executive Member
Executive Member
Posts: 248
Joined: Mon Jun 10, 2013 4:10 pm

Re: Problems getting bond quotes via fidelity?

Post by jason »

I'm wondering if Fidelity got tired of the extra hits to their servers and began blocking traffic coming from google apps.
User avatar
jason
Executive Member
Executive Member
Posts: 248
Joined: Mon Jun 10, 2013 4:10 pm

Re: Problems getting bond quotes via fidelity?

Post by jason »

MikeK wrote: I'm using a google docs spreadsheet to track my portfolio and the recommended method for getting the current prices for treasuries seems to be broken.  Anyone else having the same issue?

Here's the cell contents for fetching the current price:

Code: Select all

=index(ImportHtml("http://fixedincome.fidelity.com/fi/FIBondDetails?ordersystem=AORD&cusip=CUSIP",1,10),5,2)
All I'm getting back is 'N/A'.  If I bring up the same URL in a browser, I see what looks like current information.  Did Fidelity move things around?

mike
My google apps spreadsheet is still showing N/A for the Fidelity link.  Does anyone have a fix or know of another link I can use to put in my google spreadsheet to get bond prices?  Having to enter it manually is a real pain.
whatchamacallit
Executive Member
Executive Member
Posts: 757
Joined: Mon Oct 01, 2012 7:32 pm

Re: Problems getting bond quotes via fidelity?

Post by whatchamacallit »

It looks to me that fidelity blocked access from google's servers.

I don't use this myself so I don't know much about it but it seems I was able to get this to work:

First, input your CUSIP on this page and it appears to give you an encrypted ID:

Code: Select all

http://cxa.marketwatch.com/finra/BondCenter/BondDetail.aspx?ID=
Then supply the new ID into the formula.

Code: Select all

=index(ImportHtml("http://cxa.marketwatch.com/finra/BondCenter/BondDetail.aspx?ID=", 1,4),2,2)
I am not sure if the ID will continue to work.
Last edited by whatchamacallit on Fri Aug 23, 2013 11:58 pm, edited 1 time in total.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15220
Joined: Wed Oct 27, 2010 10:18 am
Location: searching for the lost Xanadu
Contact:

Re: Problems getting bond quotes via fidelity?

Post by dualstow »

See the thread in the bonds § by MikeK akratik, specifically posts by Khisanth and Flying Pylon.

You can draw data from cnn and plug that into the price function, although FP noticed that the result may be undervalued compared to Fidelity's.
I have noticed the same thing when I sign into Vanguard and Fidelity, although it depends upon the time of day.
I also look at data from the Wall St Journal -- I don't know how to draw it via code -- which is also different, because it's from 3:00PM Eastern on a trading day, but at least it gives me something to compare the code results to.

Anyway, cnn.

Edited thread OP author only.
Last edited by dualstow on Sun Aug 25, 2013 7:47 am, edited 1 time in total.
Abd here you stand no taller than the grass sees
And should you really chase so hard /The truth of sport plays rings around you
Rezo

Re: Problems getting bond quotes via fidelity?

Post by Rezo »

Did marketwatch tracking die for others too? Doesn't work anymore for me :(
User avatar
Mark Leavy
Executive Member
Executive Member
Posts: 1950
Joined: Thu Mar 01, 2012 10:20 pm
Location: US Citizen, Permanent Traveler

Re: Problems getting bond quotes via fidelity?

Post by Mark Leavy »

Rezo wrote: Did marketwatch tracking die for others too? Doesn't work anymore for me :(
Yes, the site seems to have gone off-line a couple of days ago.  I haven't yet found a work around for automatically pulling the prices.

Update:  FNORD123's method works well:
http://gyroscopicinvesting.com/forum/bo ... /#msg77539
Last edited by Mark Leavy on Sun Sep 15, 2013 1:26 pm, edited 1 time in total.
Post Reply