FTSE100 Data Feed, Free & (almost) real time!

A free and (almost) real time feed of all FTSE100 companies, including price and change since previous close of trading price.

View current FTSE100 Feed View data in Google Docs

This site was made by Richard Allen as a play-around with Twitter Bootstrap. The FTSE data is pulled from Google finance using the =googlefinance function within Google Docs. Although it aims to be real time, and most quotes are accurate to less than a few second; note that some may be delayed up to 20 minutes. For this reason this isn't to be used for trading or advice and is provided "as is" solely for informational purposes. You're more than welcome to use this for non-commercial use, but it's licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.. If you have any questions feel free to get in contact with me!....Enjoy!!!<>/p>

Complete data feed


A complete feed of the dataset can be requested via the following request;

XML(ATOM)

https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic Try it

JSON-P

https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic?alt=json-in-scriptTry it

JSON

https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic?alt=json Try it

RSS

https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic?alt=rss Try it


Query Feed


A query can be made for a single company using the following request;


https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic?sq=symbol=


The available companies can be found in the next section.

List of available companies and symbols


Symbol

Company Name

Symbol

Company Name

AAL.LANGLO AMERICANJMAT.LJOHNSON MATTHEY PLC
ABF.LASSOCIAT BRIT FOODSKAZ.LKAZAKHMYS
ADM.LADMIRAL GROUPKGF.LKINGFISHER
ADN.LABERDEEN ASSET MGMTLAND.LLAND SEC R.E.I.T.
AGK.LAGGREKOLGEN.LLEGAL & GENERAL
AMEC.LAMECLLOY.LLLOYDS BANKING GRP
ANTO.LANTOFAGASTAMGGT.LMEGGITT
ARM.LARM HOLDINGSMKS.LMARKS & SPENCER
ASHM.LASHMORE GRPMRW.LMORRISON SUPERMKTS
AV.LAVIVANG.LNATIONAL GRID
AZN.LASTRAZENECANXT.LNEXT
BA.LBAE SYSTEMSOML.LOLD MUTUAL
BARC.LBARCLAYSPFC.LPETROFAC
BATS.LBRIT AMER TOBACCOPOLY.LPOLYMETAL INTL
BG.LBG GROUPPRU.LPRUDENTIAL
BLND.LBRIT LAND CO REITPSON.LPEARSON
BLT.LBHP BILLITONRB.LRECKITT BENCK GRP
BNZL.LBUNZLRBS.LROYAL BK SCOTL GR
BP.LBPRDSB.LROYAL DUTCH SHELL-B
BRBY.LBURBERRY GROUPREL.LREED ELSEVIER PLC
BSY.LB SKY B GROUPREX.LREXAM
BT-A.LBT GROUPRIO.LRIO TINTO
CCL.LCARNIVALRR.LROLLS-ROYCE HLDGS
CNA.LCENTRICARRS.LRANDGOLD RESOURCES
CPG.LCOMPASS GROUPRSA.LRSA INSUR GRP
CPI.LCAPITARSL.LRESOLUTION NPV
CRDA.LCRODA INTL PLCSAB.LSABMILLER
CRH.LCRH PLCSBRY.LSAINSBURY
CSCG.LCAP SHOP CENTRESSDR.LSCHRODERS
DGE.LDIAGEOSDRC.LSCHRODERS NVTG
EMG.LMAN GROUPSGE.LSAGE GRP
ENRC.LEURASIAN NATURALSHP.LSHIRE
EVR.LEVRAZSL.LSTANDARD LIFE
EXPN.LEXPERIANSMIN.LSMITHS GROUP
FRES.LFRESNILLOSN.LSMITH & NEPHEW
GFS.LG4SSRP.LSERCO GROUP
GKN.LGKNSSE.LSSE
GLEN.LGLENCORE INTLSTAN.LSTANDARD CHARTERED
GSK.LGLAXOSMITHKLINESVT.LSEVERN TRENT
HL.LHARGREAVES LANSTATE.LTATE & LYLE
HMSO.LHAMMERSON REITTLW.LTULLOW OIL
HSBA.LHSBC HLDGTSCO.LTESCO PLC
IAG.LINTL. CONS. AIR GRPULVR.LUNILEVER
IAP.LICAPUU.LUNITED UTILITIES GR
IHG.LINTERCONT HOTELSVED.LVEDANTA RESOURCES
IMI.LIMI PLCVOD.LVODAFONE GRP
IMT.LIMPERIAL TOBACCOWEIR.LWEIR GROUP
IPR.LINTERNATIONAL POWERWOS.LWOLSELEY
ITRK.LINTERTEK GROUPWPP.LWPP
ITV.LITVWTB.LWHITBREAD
XTA.LXSTRATA
	
// url
$rss_url = 'https://spreadsheets.google.com/feeds/list/0AhySzEddwIC1dEtpWF9hQUhCWURZNEViUmpUeVgwdGc/1/public/basic?alt=rss';
// get the complete rss feed
$rss_result= file_get_contents($rss_url);
// create empty array to store results of regex match, gets overwritten each time
$preg_match_result_array = array();
// create empty array to store all the array items once extracted by the loop
$complete_preg_match_result_array = array();
// split rss feed into items, another array, split by 'item' tag
$rss_array = explode('',$rss_result);
// print_r($array); use this if you want to see how that looks
// loop over rss items array and extract the required values using a regex, 
// to understand better what this is doing take a look at the output of the print_r on the line above
foreach($rss_array as $key => $value) {
// extract the title and description from the string, store results in $preg_match_result_array
preg_match('/.*name:\s+(.*),\s+price:\s+(.*),\s+change:\s+(.*)/', $value, $preg_match_result_array);
// push extracted fields array into permemnent array
$complete_preg_match_result_array[] = $preg_match_result_array;
}

// now we have a tidy, multidimensional array with the fields we want
// do a 
// print_r($complete_preg_match_result_array);
// to see the structure
// if you want to extract more/different fields, modify the regex. each capturing group e.g. (.*) is pushed into the array

// now we can loop over the results array and print the values nicely
print ' <table class="table table-striped table-bordered table-condensed">
 <tr>
 <td>Company </td>
 <td>Price </td>
 <td>Change </td>

';

foreach($complete_preg_match_result_array as $key => $value) {

print '
 <tr>
 <td>'.$value[1].' </td>
 <td>'.$value[2].' </td>
 <td>'.$value[3].' </td>
 </tr>
';
}
print '     </table>';
?>

Company

Price

Change

ANGLO AMERICAN 1756 -4.8
ASSOCIAT BRIT FOODS 2750 -5
ADMIRAL GROUP 1878 2.5
ABERDEEN ASSET MGMT 316.33 #N/A
AGGREKO 809 -5.2
AMEC #N/A #N/A
ANTOFAGASTA 993.86 -4.54
ARM HOLDINGS 0 #N/A
ASHMORE GRP 425.2 2
AVIVA 534.8 2.6
ASTRAZENECA 5043 62.5
BAE SYSTEMS 588 1.8
BARCLAYS 200.5 1.2
BRIT AMER TOBACCO 5062 112
BG GROUP 0 #N/A
BRIT LAND CO REIT 680.2 1
BHP BILLITON 1613.8 18
BUNZL 2028 1
BP 509.9 -6.6
BURBERRY GROUP 1595.5 7
B SKY B GROUP #N/A #N/A
BT GROUP 264.1 -2.9
CARNIVAL 4975 33
CENTRICA 139.05 -1.95
COMPASS GROUP 1527 17.5
CAPITA 363.2 -15.8
CRODA INTL PLC 4534 84
CRH PLC 2683 59
CAP SHOP CENTRES #N/A #N/A
DIAGEO 2621.5 2.5
MAN GROUP 214.7 1.2
EURASIAN NATURAL 0 #N/A
EVRAZ 392.8 4.4
EXPERIAN 1668 22.5
FRESNILLO 1403.5 28.5
G4S 291.3 3.3
GKN 442 -3
GLENCORE INTL 406.86 -0.39
GLAXOSMITHKLINE 1358.1 4.9
HARGREAVES LANS 1928 8.5
HAMMERSON REIT 499 -1.6
HSBC HLDG 788.4 0.1
INTL. CONS. AIR GRP 658.4 10.6
ICAP 0 #N/A
INTERCONT HOTELS 4928 124
IMI PLC 1407 -1
IMPERIAL TOBACCO #N/A #N/A
INTERNATIONAL POWER 417.7 #N/A
INTERTEK GROUP 5274 50
ITV 164.95 -0.45
JOHNSON MATTHEY PLC 3252 -3
KAZAKHMYS 930 10
KINGFISHER 336.1 -7.9
LAND SEC R.E.I.T. 990.2 -2.8
LEGAL & GENERAL 276.2 -1.2
LLOYDS BANKING GRP 71.48 0.55
MEGGITT 488 -2.1
MARKS & SPENCER 304 -2.2
MORRISON SUPERMKTS 229 0.2
NATIONAL GRID 830.5 -0.1
NEXT 4898 -82
OLD MUTUAL 237.5 1
PETROFAC 547.8 4.2
POLYMETAL INTL 878.2 9.2
PRUDENTIAL 1981 1.5
PEARSON 680.2 1
RECKITT BENCK GRP 6913 120
ROYAL BK SCOTL GR 297.3 0
ROYAL DUTCH SHELL-B 2560 -9.5
REED ELSEVIER PLC 1641.4 17.9
REXAM 0 #N/A
RIO TINTO 4036.71 27.21
ROLLS-ROYCE HLDGS 892.8 9.4
RANDGOLD RESOURCES 7172 96
RSA INSUR GRP 626.2 2
RESOLUTION NPV #N/A #N/A
SABMILLER 0 #N/A
SAINSBURY 258.26 0.56
SCHRODERS 3723 18
SCHRODERS NVTG 2660 -5
SAGE GRP 818.6 9
SHIRE 3461 8.5
STANDARD LIFE #N/A #N/A
SMITHS GROUP 1673.5 3
SMITH & NEPHEW 1241.53 11.03
SERCO GROUP 97.15 -2.05
SSE 1291 -9
STANDARD CHARTERED 819 0
SEVERN TRENT 2024 3
TATE & LYLE 671.8 0.6
TULLOW OIL 214.85 -3.25
TESCO PLC 207.8 -1.9
UNILEVER 4108 88
UNITED UTILITIES GR 768.2 -3
VEDANTA RESOURCES 891 -1.6
VODAFONE GRP 225.8 -0.2
WEIR GROUP 2146 -15
WOLSELEY #N/A #N/A
WPP 1383.5 10.5
WHITBREAD 4005 17
XSTRATA 0 #N/A