Skip to main content

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

Release files for yfoption 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yfoption 0.0.1
File Size Uploaded
yfoption-0.0.1.tar.gz 5.2 kB Details

Release files / yfoption-0.0.1.tar.gz

Download URL yfoption-0.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b7e27939adbd6f31c940a1d41be7b7919dd7ee30b9deaeacd7e42286191a5483
BLAKE2b-256 checksum
How to use checksums
3d65feb88499ffe1da76df42a8d3a5135654ac0f99f89746a177c0a6f41ef195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page