Stock Quote Retrieval Strangeness

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Stock Quote Retrieval Strangeness

Post by lohill » Sat Nov 10, 2012 12:40 am

In the Message Box the following fails to retrieve data:
put url "http://finance.yahoo.com/d/quotes.csv?s ... FI&f=l1c1d"

By removing BOFI this one is successful:
put url "http://finance.yahoo.com/d/quotes.csv?s ... FI&f=l1c1d"

With BOFI by itself data retrieval is successful:
put url "http://finance.yahoo.com/d/quotes.csv?s=BOFI&f=l1c1d"

I have used this method for getting stock data for months with out any problem until yesterday. Length is not a problem because I have had strings of symbols more than three times as long without any problems. Any ideas?

Regards,
Larry

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Stock Quote Retrieval Strangeness

Post by bn » Sat Nov 10, 2012 1:07 am

Hi Larry,

this works

Code: Select all

put url "http://finance.yahoo.com/d/quotes.csv?s=MAIN+BAH+HCA+CBM+CBM+CBM+G+EVER+HCI+FNF+CFI+BOFI&f=l1c1d"
I have no idea why it works and if there are two CFI in it it works not.

Kind regards
Bernd

Post Reply