Yahoo Finance

免费增值
通过 Api Dojo | 已更新 16 दिन पहले | Finance
人气

9.9 / 10

延迟

1,775ms

服务等级

100%

Health Check

N/A

返回所有讨论

How to call certain option code

Rapid account: Jacoballen 410
jacoballen410
4 वर्ष पहले

Hi there,

First of all, your API is awesome. Thank you so much. I’m going to upgrade to a paid version once I’ve tested it properly and gotten success.

I’m still a little new to this. I figured out the Unix time. I’m trying to call a certain option, for example COST191220C00302500

I know I’ve got the Unix/epoch time right. I’m in google sheets. Do you know why this won’t work?

=GET(" https://apidojo-yahoo-finance-v1.p.rapidapi.com/stock/v2/get-options",“contracts.calls.COST19122000302500.lastPrice.raw”,“mylicensekey”,“symbol”,COST,"date",1577404800)

Is it because you have to reference the number that the option belongs in? for example 0. 1. 2.??

Rapid account: Apidojo
apidojo Commented 4 वर्ष पहले

Hello, you are interested in the same question at https://rapidapi.com/apidojo/api/yahoo-finance1/discussions/13123 . You need to check whether the chosen day is available or not from the list as in the following screenshot https://prnt.sc/qatg7k. In general, you need to check the official in case lack of data first, there is no option tab for COST191220C00302500 symbol http://prntscr.com/qdm20t.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论