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 1287.87 -8.63
ASSOCIAT BRIT FOODS 3197.69 7.69
ADMIRAL GROUP 1822.03 -1.97
ABERDEEN ASSET MGMT 316.33 0
AGGREKO 877.09 10.09
AMEC #N/A #N/A
ANTOFAGASTA 941.24 -12.26
ARM HOLDINGS 0 #N/A
ASHMORE GRP 349.9 2.8
AVIVA 505.99 0.49
ASTRAZENECA 4744.86 34.86
BAE SYSTEMS 621.12 1.62
BARCLAYS 188.3 0.85
BRIT AMER TOBACCO 4658.06 -45.94
BG GROUP 0 #N/A
BRIT LAND CO REIT 594.5 -0.5
BHP BILLITON 1339.5 7.5
BUNZL 2233.38 1.38
BP 456.66 5.86
BURBERRY GROUP 1779.43 21.43
B SKY B GROUP #N/A #N/A
BT GROUP 285.02 -2.58
CARNIVAL 4794.26 -43.74
CENTRICA 189.7 2.4
COMPASS GROUP 1613.61 -6.39
CAPITA 645.5 8
CRODA INTL PLC 3750.88 13.88
CRH PLC 2691.09 18.09
CAP SHOP CENTRES #N/A #N/A
DIAGEO 2500 -7.5
MAN GROUP 163.08 -0.42
EURASIAN NATURAL 0 #N/A
EVRAZ 297.24 0.84
EXPERIAN 1474 16
FRESNILLO 1416.87 -9.13
G4S 277.59 4.69
GKN 348.12 0.52
GLENCORE INTL 345.95 -0.65
GLAXOSMITHKLINE 1453.47 -3.53
HARGREAVES LANS 1412.51 -2.49
HAMMERSON REIT 542.5 1
HSBC HLDG 724.59 5.89
INTL. CONS. AIR GRP 603.94 12.94
ICAP 0 #N/A
INTERCONT HOTELS 3712.5 -5.5
IMI PLC 1151.27 9.27
IMPERIAL TOBACCO #N/A #N/A
INTERNATIONAL POWER 417.7 #N/A
INTERTEK GROUP 4894.89 -4.11
ITV 157.53 -0.07
JOHNSON MATTHEY PLC 2918.08 8.08
KAZAKHMYS 736.43 -20.07
KINGFISHER 299.5 5.3
LAND SEC R.E.I.T. 973 2
LEGAL & GENERAL 255 0.5
LLOYDS BANKING GRP 65.71 0.41
MEGGITT 505.28 5.28
MARKS & SPENCER 339.7 11.1
MORRISON SUPERMKTS 235.39 4.29
NATIONAL GRID 949.01 1.51
NEXT 4998.06 25.06
OLD MUTUAL 195.79 -0.71
PETROFAC 449.51 3.21
POLYMETAL INTL 810.42 6.92
PRUDENTIAL 1752.5 -8
PEARSON 572.22 -0.28
RECKITT BENCK GRP 6832 3
ROYAL BK SCOTL GR 255.28 2.38
ROYAL DUTCH SHELL-B 2178.31 22.81
REED ELSEVIER PLC 1634.5 -2.5
REXAM 0 #N/A
RIO TINTO 3526.36 26.36
ROLLS-ROYCE HLDGS 893.75 4.25
RANDGOLD RESOURCES 7450.88 35.88
RSA INSUR GRP 630.6 0.1
RESOLUTION NPV #N/A #N/A
SABMILLER 0 #N/A
SAINSBURY 241.69 4.69
SCHRODERS 3310.26 11.26
SCHRODERS NVTG 2395.24 13.24
SAGE GRP 703.32 -1.68
SHIRE 3845.52 -13.98
STANDARD LIFE #N/A #N/A
SMITHS GROUP 1604.71 10.71
SMITH & NEPHEW 1335.15 -9.85
SERCO GROUP 113.51 2.51
SSE 1417.47 10.47
STANDARD CHARTERED 737 -3.8
SEVERN TRENT 2200.83 -0.17
TATE & LYLE 646.52 -4.48
TULLOW OIL 161 3.9
TESCO PLC 185.94 2.09
UNILEVER 4398.75 8.75
UNITED UTILITIES GR 875.59 -0.41
VEDANTA RESOURCES 815.05 1.55
VODAFONE GRP 208.94 -0.11
WEIR GROUP 1821.02 14.02
WOLSELEY #N/A #N/A
WPP 1353.6 -3.4
WHITBREAD 3624 -40
XSTRATA 0 #N/A