Yahoo Finance

FREEMIUM
By Api Dojo | Updated לפני 3 ימים | Finance
Popularity

9.9 / 10

Latency

1,716ms

Service Level

100%

Health Check

N/A

Back to All Discussions

How to call certain option code

Rapid account: Jacoballen 410
jacoballen410
4 years ago

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 years ago

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.

Join in the discussion - add comment below:

Login / Signup to post new comments