The package fetch option data from yahoo finance.
Project description
Information
This package to only fetch option data from yahoo finance
Installation
pip install yfoption
Get options as straddle
- Get options of ticker as straddle
import yfoption as yf
opt = yf.Option("AAPL")
opt.option_straddle('2021-12-23')
Get options
- Get options of ticker
import yfoption as yf
opt = yf.Option("AAPL")
opt.options
Get strikes
- Get strikes of ticker
import yfoption as yf
opt = yf.Option("AAPL")
opt.strikes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yfoption-0.0.1.tar.gz
(5.2 kB
view hashes)