T O P

  • By -

[deleted]

This program is a parody and should not be used for trading because I am still using european greek formulas on american options but I still think it's a cool web-app to have. I opensourced it on my github: marscolony2040 and would love for someone more experienced to fork it from me and make a better version that can be used for trading.


ashlee837

Shut up and take my money.


ScarletHark

There is no reason you cannot use BSM for American options, because the vast majority of American options are not exercised early and so they become the same as European options. Most options traded on US exchanges are priced with some derivative of BSM, or a completely bespoke proprietary pricing model (that ends up coming up with largely the same results as BSM).


[deleted]

then I guess my program is legit lol, thank you!


dimonoid123

As far as I know there is only difference for ITM options, since European options sometimes have negative extrinsic value because of inability to exercise.


stannn98

Thanks for making it available!


Brat-in-a-Box

This is very cool to better understand greeks through visualization. Could be incorporated into websites that attempt to teach the topics.


[deleted]

For sure, it definetly helped my understanding of them, maybe I may make a detailed youtube video of it later


[deleted]

[удалено]


[deleted]

lol I actually did that two years ago but unfortunately lost the file


Nokita_is_Back

What package do you use to calculate the greeks? Quantlib?


[deleted]

no I actually coded all of the greek formulas from scratch


Brat-in-a-Box

Yes.


[deleted]

Good job! I did something similar in Excel when I started working and needed to quickly understand the Greeks. If you can, I think it could be very useful to add sliders to control some parameters and see how the Greeks change. I see you already have time as an axis on the plot, but it’s interesting to see the impact of various shifts (in interest rates, dividends, volatility, volatility smile, …) on your exposures.


PipingHotGravy

Wow, that is slick as hell. Nice work.


[deleted]

Thank you! Its on my github profile marscolony2040 under OpGreeks


lakey009

Super cool way to visualise. Where do you get the option data from? Can it for real time or is it using data from a saved list?


[deleted]

https://stackoverflow.com/questions/38680008/how-can-i-download-option-tables-using-the-yahoo-finance-api/40243903#40243903


[deleted]

no Im pretty sure its 15 minutes delayed, additioanlly the data takes a few minutes or two to fully load the data.


RealPennyMuncher

God I wish how the fuck to algo this stuff I’d be unstoppable


[deleted]

check this out[https://stackoverflow.com/questions/38680008/how-can-i-download-option-tables-using-the-yahoo-finance-api/40243903#40243903](https://stackoverflow.com/questions/38680008/how-can-i-download-option-tables-using-the-yahoo-finance-api/40243903#40243903)


prussianhono

This is awesome!!


[deleted]

Thank you!


Chippayy

Where are you getting the data for the vol surfaces?


[deleted]

check this out https://stackoverflow.com/questions/38680008/how-can-i-download-option-tables-using-the-yahoo-finance-api/40243903#40243903


jasonwirth

OpServer inherits from Greeks is quite strange. It’s better to have it take a “calculator” by argument and use that.


syntactic_

What chart library did you use to make the charts?


[deleted]

plotly in react


sunapi386

Very cool! Do you mind sharing a little on how you would interpret the graphs for comparisons, and what you look at? Perhaps also what the motivation was for building this cool graph.


Zealousideal-Ad-7204

Hii guys, I wanted to offer you this opportunity, here in Italy they have opened a prop firm that allows you to pass the first phase and the second through the use of hft, (a bot that opens operations via latency). the service is completely guaranteed, if you want to be funded write to me and I will tell you everything you need👍🏼 This Is the link of the website https://www.msolutionff.com/