Quotient

FREEMIUM
Durch dubois4and | Aktualisiert 2 महीने पहले | Finance
Popularität

9.8 / 10

Latenz

1,102ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Historical intraday options data

Rapid account: Artemiit 137
artemiit137
एक वर्ष पहले

Hello.
I need to download all historical time series for ALL options for last year.
Can I do it through your API or directly buy it?

Rapid account: Artemiit 137
artemiit137 Commented एक वर्ष पहले

Can I receive 15 min time series using it?

Rapid account: Dubois 4 And
dubois4and Commented एक वर्ष पहले

That’s a huge amount of data that can’t be retrieved in a single API call. You’ll need to do the following for each ticker:

the expiration is easy to compute. It’s the third Friday of each month. For the strike price, it’s vary depending on the market price of the underlying. For lower priced stocks (usually $25 or less), intervals are at 2.5 points. Higher priced stocks have strike price intervals of 5 point (or 10 points for very expensive stocks priced at $200 or more). Index options typically have strike price intervals of 5 or 10 points. So for each third Friday of each month, you can build a array of strikes with a predefined interval, e.g, [50, 55, 60, …]. With these parameters, you can loop through the API and get the data.

So programatically (python), you would something like:

for date in [3rdFriday1, 3rdFriday2, 3rdFriday3, …]:
for exp in range(50, 300, 2.5): # step of 2.5, 5 or 10 etc
historicalprice(exp, date)

We can help you if you want.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen