Yahoo Finance

FREEMIUM
Door Api Dojo | Bijgewerkt il y a 16 jours | Finance
Populariteit

9.9 / 10

Latency

1,775ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

How to call certain option code

Rapid account: Jacoballen 410
jacoballen410
il y a 4 ans

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 il y a 4 ans

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.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen