0

Getting component of stock market index from YQL

Good after noon,

I'm new in YQL, and i want know if its possibel to get all components of Down Jones for exemple, it's very important for me.

Thank you in advance

by
5 Replies
  • Yes Do You Need More Info Look Up Bloomberg Report Or Money Matters Or Fast Money Or Inside The Box Do You Need More Assistance?<br><br><div class="quote"><div class="quotetop">QUOTE<cite>(João @ 17 Mar 2012 12:53 PM)</cite></div><blockquote class="quotemain">Good after noon,<br><br>I&#39;m new in YQL, and i want know if its possibel to get all components of Down Jones for exemple, it&#39;s very important for me.<br><br>Thank you in advance<br></blockquote></div>
    0
  • I believe this is currently not possible.<br><br>But you can probably create that yourself by using an Open Data Table, the html table, and XPATH &nbsp;:)<br><br>Thanks -Paul<br>YQL Team
    0
  • Thank you for the answares, but whene i try just this :<br><br>select * from html where url=&quot;http://finance.yahoo.com/q/cp?s=^IBEX+Components&quot; <br><br>the console give me this error:<br><br><div style="display:block;height:4.5em;" id="errordiv"> <div id="errortext"><div class="errarea">Invalid URL http://finance.yahoo.com/q/cp?s=^IBEX+Components</div></div> </div>
    0
  • Try:&nbsp;select * from html where url=&quot;http://finance.yahoo.com/q/cp?s=%5EIBEX+Components&quot;
    0
  • thank&#39;s a lot<br><br>now i have this query, but i need extrat only de name of the anchor (not the link) :<br><br>select * from html where url=&#39;http://finance.yahoo.com/q/cp?s=%5ENYA&alpha=B&#39; and xpath=&#39;//table[@class=&quot;yfnc_tableout1&quot;]//a<br><br>some sugestions?<br><br>thank&#39;s
    0

Recent Posts

in YQL