问题描述
直到昨天查询像这样的产生的模糊/广泛匹配结果为股票和公司名称的长列表。
Until yesterday a query such as this http://autoc.finance.yahoo.com/autoc?query=a&callback=YAHOO.Finance.SymbolSuggest.ssCallback yielded a long list of fuzzy/broadmatch results for both ticker and company name.
从今天起你是一个。)需要特定区域和语言和b。)它只是产生精确匹配的结果只为股票,而不是为公司名称。因此,通常你只有一个结果返回。
Since today you are a.) required to specific region and language and b.) it is only yielding exact match results only for the ticker and not for the company name. Thus usually you get only one results back.
因此,对于<一个href=\"http://autoc.finance.yahoo.com/autoc?query=y®ion=US&lang=en&callback=YAHOO.Finance.SymbolSuggest.ssCallback\">http://autoc.finance.yahoo.com/autoc?query=y®ion=US&lang=en&callback=YAHOO.Finance.SymbolSuggest.ssCallback现在有结果只有一个: YAHOO.Finance.SymbolSuggest.ssCallback({\"ResultSet\":{\"Query\":\"a\",\"Result\":[{\"symbol\":\"A\",\"name\":\"Agilent技术公司,可置换:NYQ,类型:S,exchDisp:NYSE,typeDisp:公平}]}});
Thus for http://autoc.finance.yahoo.com/autoc?query=y®ion=US&lang=en&callback=YAHOO.Finance.SymbolSuggest.ssCallback there's now only one result: YAHOO.Finance.SymbolSuggest.ssCallback({"ResultSet":{"Query":"a","Result":[{"symbol":"A","name":"Agilent Technologies Inc.","exch":"NYQ","type":"S","exchDisp":"NYSE","typeDisp":"EQUITY"}]}});
不知道如何一)拓宽匹配类型和b)包括公司名称作为搜索领域?
Any idea how to a.) broaden the match type and b.) include the company name as the searched field?
推荐答案
该网址已经更改为此:
<一href=\"http://d.yimg.com/aq/autoc?query=y®ion=US&lang=en-US&callback=YAHOO.util.ScriptNodeDataSource.callbacks\">http://d.yimg.com/aq/autoc?query=y®ion=US&lang=en-US&callback=YAHOO.util.ScriptNodeDataSource.callbacks
这篇关于雅虎财经API股票/股票查询只允许精确匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!