Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Json 返回的Yahoo Finance YQL查询限制列_Json_Yql_Yahoo Api_Yahoo Finance - Fatal编程技术网

Json 返回的Yahoo Finance YQL查询限制列

Json 返回的Yahoo Finance YQL查询限制列,json,yql,yahoo-api,yahoo-finance,Json,Yql,Yahoo Api,Yahoo Finance,yahoo finance api YQL查询对于获取股票数据非常有用,但它返回的东西太多了,其中大部分我都不感兴趣 一个基本的查询,比如 select * from yahoo.finance.quotes where symbol = 'GOOG' 返回每个可用参数,其中一些参数为空 我想要的只是‘符号’、‘名称’、‘体积’和‘询问’。 那么,我如何将结果仅限于这些数据呢 我试过: select * from yahoo.finance.quotes where symbol = 'GOO

yahoo finance api YQL查询对于获取股票数据非常有用,但它返回的东西太多了,其中大部分我都不感兴趣

一个基本的查询,比如

select * from yahoo.finance.quotes where symbol = 'GOOG'
返回每个可用参数,其中一些参数为空

我想要的只是‘符号’、‘名称’、‘体积’和‘询问’。 那么,我如何将结果仅限于这些数据呢

我试过:

select * from yahoo.finance.quotes where symbol = 'GOOG' and columns = 'Symbol,Name,Volume,Ask'

但结果为空。

请尝试以下查询:

select Symbol,Name,Volume,Ask from yahoo.finance.quotes where symbol = 'GOOG'
休息电话:

编辑
关于YQL中SELECT语法的YQL文档