5

I'm building a Node.js app and I'm facing a little problem.

I want to get the price of a stock on realtime from Yahoo Finance based on the ISIN of the stock.

I'm already getting this price using the symbol of the stock (ex: AAPL for Apple Inc.)

This is my code:

var stock_url = "http://finance.yahoo.com/d/quotes.csv?s=AAPL&f=a";

request(stock_url, function (error, response, body) { 
    if (!error && response.statusCode == 200) {  
        var stock_data = body;
        console.log("Yahoo Finance API: ", stock_data);      
    };
});

Thanks!

Everblack
  • 87
  • 1
  • 8
  • It appears that yahoo finance documentation is close to being nonexistent. The closest I can get is this: http://stackoverflow.com/questions/32519685/get-historic-prices-by-isin-from-yahoo-finance – Mμ. Apr 14 '17 at 12:47

0 Answers0