Skip to content

sotoblanco/OptionsAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OptionsAnalysis

In this repository we create a python script that allow to download option data from yahoo finance in any available instrument, store is a csv file and plot the results.

The code was taken from this page which creates the 3D plots.

Changes to the code:

  • Filter by expiration date
  • Filter by strike price
  • Export to csv file
  • Make the code run faster

I change the code to be able to also export the data into a csv file, unfortanely the author doesn't have github so I have to store my version of the code as my own.

The code is run in python 3.8

We need to follow the instructions in order to get the option data

We select:

  • Ticker symbol
  • Type of option
  • Moneyness
  • Risk free (Usually set at 0.01)
  • Expiration date
  • Strike Price

The final results is the greek letters used in options under the Black-Scholes model

The final output looks similar to this: Output

About

Options trading analysis from yahoo finance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages