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 1379 -1.5
ASSOCIAT BRIT FOODS 2866.34 -22.66
ADMIRAL GROUP 1904 5
ABERDEEN ASSET MGMT 316.33 #N/A
AGGREKO 795 2.5
AMEC #N/A #N/A
ANTOFAGASTA 914 3.5
ARM HOLDINGS 0 #N/A
ASHMORE GRP 394.4 8
AVIVA 508 -4
ASTRAZENECA 4932.5 -2.5
BAE SYSTEMS 555.25 -0.25
BARCLAYS 200.9 0.3
BRIT AMER TOBACCO 5014 -30
BG GROUP 0 #N/A
BRIT LAND CO REIT 658.5 4.5
BHP BILLITON 1381.5 -1
BUNZL 2056 -7
BP 509.9 -1.1
BURBERRY GROUP 1738 12
B SKY B GROUP #N/A #N/A
BT GROUP 269.5 -0.2
CARNIVAL 4887 -12
CENTRICA 143.6 -1.2
COMPASS GROUP 1514 4
CAPITA 473 8.1
CRODA INTL PLC 4238 -14
CRH PLC 2578 -18
CAP SHOP CENTRES #N/A #N/A
DIAGEO 2640 -8.5
MAN GROUP 202.2 1.6
EURASIAN NATURAL 0 #N/A
EVRAZ 308.23 -2.77
EXPERIAN 1607 3
FRESNILLO 1286 -1
G4S 253.6 0.2
GKN 302.15 0.45
GLENCORE INTL 348.8 1.35
GLAXOSMITHKLINE 1317 2.5
HARGREAVES LANS 1636 15
HAMMERSON REIT 522 0
HSBC HLDG 767.9 10.8
INTL. CONS. AIR GRP 635 2
ICAP 0 #N/A
INTERCONT HOTELS 4479 34
IMI PLC 1253 -2
IMPERIAL TOBACCO #N/A #N/A
INTERNATIONAL POWER 417.7 #N/A
INTERTEK GROUP 5040 10
ITV 165.6 1.2
JOHNSON MATTHEY PLC 3042 -19
KAZAKHMYS 750.5 -6
KINGFISHER 335.4 2.5
LAND SEC R.E.I.T. 950 0
LEGAL & GENERAL 265.07 -0.83
LLOYDS BANKING GRP 67.35 -0.05
MEGGITT 486.7 1
MARKS & SPENCER 314.2 2.3
MORRISON SUPERMKTS 211.7 0.2
NATIONAL GRID 881.5 -2.8
NEXT 4410.58 17.58
OLD MUTUAL 201.3 1.5
PETROFAC 455.43 3.83
POLYMETAL INTL 840 3
PRUDENTIAL 1827 -1
PEARSON 750.5 2.5
RECKITT BENCK GRP 6721 -42
ROYAL BK SCOTL GR 281.4 0.5
ROYAL DUTCH SHELL-B 2443 -5
REED ELSEVIER PLC 1731 16
REXAM 0 #N/A
RIO TINTO 3524.95 -16.05
ROLLS-ROYCE HLDGS 841 5
RANDGOLD RESOURCES 6740 -5
RSA INSUR GRP 598 0.5
RESOLUTION NPV #N/A #N/A
SABMILLER 0 #N/A
SAINSBURY 237.7 3.1
SCHRODERS 3437 6
SCHRODERS NVTG 2432 19
SAGE GRP 778.12 -2.88
SHIRE 3733.5 -27
STANDARD LIFE #N/A #N/A
SMITHS GROUP 1469 -11
SMITH & NEPHEW 1310 -2
SERCO GROUP 107.1 11.75
SSE 1324 0
STANDARD CHARTERED 774.7 1.8
SEVERN TRENT 2107 -13
TATE & LYLE 687.5 -6.5
TULLOW OIL 192.4 -2.5
TESCO PLC 206.71 1.06
UNILEVER 4195 -13
UNITED UTILITIES GR 822.5 -1.5
VEDANTA RESOURCES 679.5 -3.5
VODAFONE GRP 231.6 -0.75
WEIR GROUP 2050 -6
WOLSELEY #N/A #N/A
WPP 1380 11
WHITBREAD 3916 57
XSTRATA 0 #N/A