php - Yahoo YQL finance API - prices without tickers -
i'm having play yql yahoo finance api , have managed json quotes in php. 1 thing i've noticed not has yahoo ticker, yahoo still has page security. e.g. pimco unconstrained bond fund has symbol pubax
standard quote page. however, m&g strat bond fund doesn't seem have yahoo ticker identified isin code instead, gb0033828137.l
.
the format of url visit quotes page of both securities same s
parameter in url being ticker or isin.
now, regarding yql api. if run query like:
select * yahoo.finance.quotes symbol in ("pubax")
i results expected. see test console
however, if run same query using isin of security without ticker:
select * yahoo.finance.quotes symbol in ("gb0033828137.l")
the results array contains null values , ticker not available
error raised. see console
is there way quotes yahoo using isin in cases ticker non-existant?
edit
this issue occurs csv api:
http://download.finance.yahoo.com/d/quotes.csv?s=pubax,gb0033828137.l&f=d1l1&e=.csv
Comments
Post a Comment