SPy Options trading from 1:50-3:30 PM; blue = call & red = put
Posted Apr 9, 2020, 10:23 PM UTC
Posted Apr 9, 2020, 10:23 PM UTC
[deleted]
yahoo finance options chain and i computed all the greeks with black scholes off the imported premiums and implied vol per strike
Are u scraping every few mins?
every 30 seconds - minute
Thank you. Do you plan to put it on GitHub?
yahoo finance options chain and i computed all the greeks with black scholes off the imported premiums and implied vol per strike
could you explain in simple terms to a noob how this model give you an insight about the options to buy and to discard please?
It’s evolving nicely!
Neat!
Weird question. Are you able to plot a projected value of SPY over a year based on options? Say one projection for the bulls, one for the bears.
thats what im trying to get to but i need to collect a few weeks/months worth
Dude hell yeah. Best of luck. I've been trying to learn about put/call parity but it just doesn't quite make sense on a macro level to me yet.
If I'm ever able to learn enough, I'd like to dabble in this as well. For a visualization of a projected value I'm picturing a snake that gets fatter and skinnier based on the confidence of the options. Then, you'd be able to analyze your snake and possibly make an entirely new projection with tweaks to make it more accurate.
Dope. Idk nothing about Lagos really or 3D put stuff. But I do know about spy. Pretty cool
Seems like they really crush IV at close - I guess that isn't new though, feels bigger in the current market state
What sticks out most to you? Put activity during the end of the day? Nothing in particular sticks out to me.
theta looks interesting and seems to contract every time the price return jumps positive
Plotting library?
matplotlib
Thank you
Shouldn't the delta for puts and calls be more or less symmetrical with respect to a delta=0 horizontal plane (or actually the horisontal line delta=0 and price=spot price)?
theyre between -1 to 1
Yes, but also symmetric with respect to 0. From the gif it seems they are just translated vertically instead.
So at the spot price calls have highest magnitude delta with positive sign and then decay towards zero for higher and lower prices. Puts at the spot price should have highest magnitude delta with negative sign and also decay towards zero at higher and lower prices. Instead, in the gif it looks like puts' delta decays towards -1 for high and low prices.
What am I missing ?
Thank you for pointing that out though, Ive been only collecting for a day but it helped me figure out my error
My mistake I didnt realize that the delta formula I coded in accidently called the N'(d1) function instead of N(d1)
How to read this ?
x column is strikes, y column is maturities and the z column is each metric, the delta graph on this isnt right because I accidentally used the N'(d1) function instead of N(d1), & the theta is scaled by 1/100 instead of 1/252 (my mistake)
How would I get all of this data?
It's freely available from yahoo finance. Check out the yfinance python package if you know python. Its option chain data is only realtime so you'd be responsible for saving it out every so often. I think the frequency limit for the yahoo api is like 2,000 request/hr.
Or you can pay through the nose for historical options data from some data provider.
Great job. I would love to fork this.
RemindMe! 1 week
[removed]
So of zero predictive value?
This is the way
This is the way
The only way
[removed]
the point of this isnt to predict the price of SPY, I'm still working on getting more realtime data to try to predict the perfect time to exercise a particular option if I can
this delta is wrong too lol, i used N'(d1) instead of N(d1) in the formula, python whoopsies
What's the difference between using N(d1) and N'(d1), I'm rusty on my python
N(d1) is solving for the cumulative probability, and N'(d1) just gives you the probability at the point. d1 is basically a Zscore & is pluggedin (1/sqrt(2pi))*e^(-0.5x^2)
Ah I see thank you mate
why zero predictive value?
lol im not trying to predict anything though, examine and infer
what's the point of that grid?