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 1451.08 -6.42
ASSOCIAT BRIT FOODS 3066.15 -30.85
ADMIRAL GROUP 1869.78 -9.22
ABERDEEN ASSET MGMT 316.33 0
AGGREKO 854 -8
AMEC #N/A #N/A
ANTOFAGASTA 976.79 11.79
ARM HOLDINGS 0 #N/A
ASHMORE GRP 367.56 -0.14
AVIVA 498.33 -6.17
ASTRAZENECA 5011.26 -24.74
BAE SYSTEMS 548.63 5.13
BARCLAYS 189.22 0.02
BRIT AMER TOBACCO 5044.52 -46.48
BG GROUP 0 #N/A
BRIT LAND CO REIT 617.98 2.48
BHP BILLITON 1395.78 10.78
BUNZL 2163.66 5.66
BP 497.82 3.52
BURBERRY GROUP 1751.65 -9.35
B SKY B GROUP #N/A #N/A
BT GROUP 249.98 4.48
CARNIVAL 5010.08 0.08
CENTRICA 163.38 3.18
COMPASS GROUP 1528.56 -9.44
CAPITA 477.17 7.27
CRODA INTL PLC 4275.19 -44.81
CRH PLC 2645.75 -27.25
CAP SHOP CENTRES #N/A #N/A
DIAGEO 2581.5 -19.5
MAN GROUP 195.68 -0.82
EURASIAN NATURAL 0 #N/A
EVRAZ 294.41 11.21
EXPERIAN 1552.9 2.9
FRESNILLO 1347.55 54.55
G4S 260.86 0.86
GKN 304.77 1.77
GLENCORE INTL 363.5 1.4
GLAXOSMITHKLINE 1300.58 -2.42
HARGREAVES LANS 1605.47 -6.53
HAMMERSON REIT 521.04 1.04
HSBC HLDG 739.84 10.24
INTL. CONS. AIR GRP 606.41 0.91
ICAP 0 #N/A
INTERCONT HOTELS 4331.11 -3.89
IMI PLC 1275.18 12.18
IMPERIAL TOBACCO #N/A #N/A
INTERNATIONAL POWER 417.7 #N/A
INTERTEK GROUP 5163.97 -11.03
ITV 150.79 3.89
JOHNSON MATTHEY PLC 3143.88 -14.12
KAZAKHMYS 824.86 10.36
KINGFISHER 319.61 11.11
LAND SEC R.E.I.T. 923.82 -1.18
LEGAL & GENERAL 265.4 -1.6
LLOYDS BANKING GRP 65.93 0.21
MEGGITT 488.2 4.6
MARKS & SPENCER 298.43 -1.47
MORRISON SUPERMKTS 215.67 5.67
NATIONAL GRID 891.03 12.83
NEXT 4341.5 1.5
OLD MUTUAL 195.98 4.98
PETROFAC 445.45 3.75
POLYMETAL INTL 929.74 31.24
PRUDENTIAL 1876.87 -38.13
PEARSON 705.95 6.45
RECKITT BENCK GRP 6550.4 149.4
ROYAL BK SCOTL GR 273.81 0.61
ROYAL DUTCH SHELL-B 2380.5 3.5
REED ELSEVIER PLC 1760.72 -8.28
REXAM 0 #N/A
RIO TINTO 3603.68 30.68
ROLLS-ROYCE HLDGS 890.05 -0.95
RANDGOLD RESOURCES 7260.86 95.86
RSA INSUR GRP 607.44 -4.56
RESOLUTION NPV #N/A #N/A
SABMILLER 0 #N/A
SAINSBURY 230.68 3.98
SCHRODERS 3499.6 -31.4
SCHRODERS NVTG 2512.92 -8.08
SAGE GRP 784.89 9.89
SHIRE 3764.04 132.04
STANDARD LIFE #N/A #N/A
SMITHS GROUP 1506.36 4.36
SMITH & NEPHEW 1329.11 4.11
SERCO GROUP 96.64 -0.41
SSE 1370.5 28.5
STANDARD CHARTERED 746.73 23.73
SEVERN TRENT 2114.25 23.25
TATE & LYLE 693.43 9.43
TULLOW OIL 171.07 5.27
TESCO PLC 191.7 2.7
UNILEVER 4188.5 -39
UNITED UTILITIES GR 783.25 4.75
VEDANTA RESOURCES 797.71 22.71
VODAFONE GRP 228.75 -1
WEIR GROUP 2048.17 15.17
WOLSELEY #N/A #N/A
WPP 1271.41 4.41
WHITBREAD 3577.36 43.36
XSTRATA 0 #N/A