A la pointe

About

A la pointe could mean a tip or high-tech in french.

Anyway, Frederic Degraeve is a tall guy in NYC thinking about a ton of home projects and interested by a ton of high-tech subjects.

Following

Reblogged from theitproblems
Reblogged from theitproblems

Download YQL data in javascript with JQuery


var loadCSV = function (symbol) {
            // yql : select * from yahoo.finance.historicaldata where symbol  in ("IBM") and startDate = "2012-01-01" and endDate ="today()"
            var url = "http://query.yahooapis.com/v1/public/yql?q=%0Aselect%20*%20from%20yahoo.finance.historicaldata%20where%20symbol%20%20in%20(%22" + symbol
                + "%22)%20and%20startDate%20%3D%20%222012-01-01%22%20and%20endDate%20%3D%22today()%22&format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env";
            $.getJSON(url, function (data) {
                console.log(data.query.results.quote[0].Close);
            });
        };
        loadCSV("IBM")
        loadCSV("MSFT")

javascript jquery