雅虎金融 API 股票回报股票期权数据吗?

发布于 2024-08-21 19:40:31 字数 355 浏览 5 评论 0原文

我正在使用雅虎财经 API 来获取股票和股票期权数据。这曾经有效:

http://quote.yahoo。 com/d/quotes.csv?s=VCR.X&f=l1c1n

这是 Visa 的一个选项。这不再起作用了,当我去雅虎金融时,他们的选项符号现在都不同了,看起来像这样:

VEH100220P00055000

,现在是 Visa 的选项。如果我将那么长的一个插入到网址中,它也不起作用。有人知道他们是否正在改变自己的选择并打破了这一点?

i'm using the yahoo finance api for stock and stock option data. this used to work:

http://quote.yahoo.com/d/quotes.csv?s=VCR.X&f=l1c1n

that's once of the options for Visa. this doesn't work anymore, and when i go to yahoo finance their option symbols are all differnt now, looking like this:

VEH100220P00055000

that's an option for Visa now. and if i plug that long one into the url it doesn't work either. anyone know if they are changing things with their options and broke this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

流云如水 2024-08-28 19:40:31

期权符号系统非常复杂。当合约滚动和新合约可用时,期权链的符号将定期变化。

如果您想要已清理的期权市场数据,您可能需要付费。 XIgnite 有几个提供选项数据的 Web 服务: http://www.xignite.com/xoptions.asmx

Option symbology is highly complicated. The symbols for option chains will periodically change, when the contracts roll and new contracts are available.

If you want options market data that has been cleaned, you will probably have to pay for it. XIgnite has a couple of web services providing options data: http://www.xignite.com/xoptions.asmx

柳若烟 2024-08-28 19:40:31

截至 2016 年 1 月 4 日

http://finance.yahoo.com/q/?s= v160122C00075000

将返回期权报价,其中:
v 是 Visa 股票代码
160122 是日期
C 代表看涨期权(改为 P 代表看跌期权)
00075000 是价格(或 75 美元),

但在 Excel 中,这会将数据垂直放置在 2 列中(第一列是标题,第二列是数据)

As of 1/4/16

http://finance.yahoo.com/q/?s=v160122C00075000

will return the Option quote where:
v is the Visa Ticker symbol
160122 is the Date
C is for Call (change to P for put)
00075000 is the price (or $75)

but in excel, this will place the data vertically in 2 columns (first being header, second being the data)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文