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 1729.8 -9.8
ASSOCIAT BRIT FOODS 2273 -26
ADMIRAL GROUP 2187 12
ABERDEEN ASSET MGMT #N/A #N/A
AGGREKO 781.4 -15.4
AMEC #N/A #N/A
ANTOFAGASTA 821.4 6
ARM HOLDINGS #N/A #N/A
ASHMORE GRP 469.8 -8
AVIVA 359.2 -4.3
ASTRAZENECA 7371 90
BAE SYSTEMS 550.8 -1.6
BARCLAYS 138.58 -2.02
BRIT AMER TOBACCO 3001.5 -35
BG GROUP #N/A #N/A
BRIT LAND CO REIT 480 -5.2
BHP BILLITON #N/A #N/A
BUNZL 2032.36 -4.64
BP 496.45 -3.65
BURBERRY GROUP 2133 16
B SKY B GROUP #N/A #N/A
BT GROUP 163.96 -3.42
CARNIVAL 3554 -38
CENTRICA 65.34 -0.96
COMPASS GROUP 2076 18
CAPITA 119.2 -3.9
CRODA INTL PLC 4662 -26
CRH PLC 2624 -26
CAP SHOP CENTRES #N/A #N/A
DIAGEO 3475 29
MAN GROUP 164.45 1.8
EURASIAN NATURAL #N/A #N/A
EVRAZ 493.4 -9.6
EXPERIAN 2523 -11
FRESNILLO 654.4 2.4
G4S 168.3 -3.35
GKN #N/A #N/A
GLENCORE INTL 231.8 -1.15
GLAXOSMITHKLINE 1672 7.4
HARGREAVES LANS 1944 28.5
HAMMERSON REIT 205.49 -4.01
HSBC HLDG 600.3 -3.4
INTL. CONS. AIR GRP 417.9 -6
ICAP #N/A #N/A
INTERCONT HOTELS 5189 4
IMI PLC 944 9.8
IMPERIAL TOBACCO #N/A #N/A
INTERNATIONAL POWER #N/A #N/A
INTERTEK GROUP 5454 -68
ITV 108.95 -0.8
JOHNSON MATTHEY PLC 2828 -2
KAZAKHMYS 408.1 0.9
KINGFISHER 187.65 -6.55
LAND SEC R.E.I.T. 741 -10.4
LEGAL & GENERAL 224.3 -2.9
LLOYDS BANKING GRP 49.79 -0.15
MEGGITT 612.8 -1.8
MARKS & SPENCER 184.8 -0.95
MORRISON SUPERMKTS 180.3 -1.7
NATIONAL GRID 857 -10.9
NEXT 5650 -56
OLD MUTUAL #N/A #N/A
PETROFAC 401.3 0.5
POLYMETAL INTL 1096 16.5
PRUDENTIAL 1413 14
PEARSON 820.4 -2.8
RECKITT BENCK GRP 6197 4
ROYAL BK SCOTL GR 184.6 -0.05
ROYAL DUTCH SHELL-B 2280 -24.5
REED ELSEVIER PLC 1943.5 -4
REXAM #N/A #N/A
RIO TINTO 4043.5 -21.5
ROLLS-ROYCE HLDGS 770.2 7.4
RANDGOLD RESOURCES #N/A #N/A
RSA INSUR GRP 524.8 -3.2
RESOLUTION NPV #N/A #N/A
SABMILLER #N/A #N/A
SAINSBURY 194 5.65
SCHRODERS 2710 -15
SCHRODERS NVTG 2270 10
SAGE GRP 697.4 1.8
SHIRE #N/A #N/A
STANDARD LIFE #N/A #N/A
SMITHS GROUP 1572 0
SMITH & NEPHEW 1931 14.5
SERCO GROUP 142.52 1.32
SSE 1102 -11
STANDARD CHARTERED 616.6 -1.8
SEVERN TRENT 2008 -34
TATE & LYLE 701.8 -3.2
TULLOW OIL 210.3 0.5
TESCO PLC 215.9 -3.8
UNILEVER 5123 32
UNITED UTILITIES GR 780 -17.4
VEDANTA RESOURCES #N/A #N/A
VODAFONE GRP 148.84 -1.48
WEIR GROUP 1302.5 -15.5
WOLSELEY #N/A #N/A
WPP 949.4 -9.8
WHITBREAD 4238 23
XSTRATA #N/A #N/A