{"repo":"vivek-v-rao/Yahoo-Option-Prices","free":true,"listed":false,"github":"https://github.com/vivek-v-rao/Yahoo-Option-Prices","clone":"git clone https://github.com/vivek-v-rao/Yahoo-Option-Prices.git","description":"Get option chains from Yahoo Finance","language":"Python","stars":21,"topics":["stock-options","yahoo-finance","option-chain","option-chains","yfinance","finance","quantitative-finance"],"license":"MIT","category":"trading","readme_excerpt":"Yahoo-Option-prices Download option chains (calls + puts) from Yahoo Finance via yfinance and write CSVs. Supports single or multiple symbols, single expiry or all expirations, optional expiration range, and optional implied-volatility plotting. Implied-Vol-Surface is my project to fit implied vol curves to option prices downloaded here. Requirements - Python 3 - pandas - yfinance - matplotlib (only for --plot-iv ) Usage Arguments - SYMBOL : one or more tickers. If the symbol starts with ^ , it will be stripped in output filenames and summary labels. - YYYYMMDD (optional): specific expiration date to fetch. If omitted and --expiry is not given, all expirations are fetched. - outfile.csv (optional): output filename for a single symbol. Ignored for multi-symbol runs. If no expiry is supplied, a trailing .csv argument is treated as the output file for a single symbol. Options - If a symbol starts with ^ , wrap it in quotes (e.g., \"^SPX\" ) so the shell passes it through. - --expiry YYYYMMDD YYYYMMDD:YYYYMMDD : select a single expiration or a date range. - --exp-range N:M : filter expirations by days from today (inclusive). Empty side means open-ended (e.g., :30 or 7: ). If YYYYMMDD , --expiry , and/or --exp-range are provided, expirations are the union. - --plot-iv : plot implied volatility vs. strike for the fetched chain. Beware that the implied vols are those reported by Yahoo Finance, and I think they are often wrong. - --timing : print timing summary at the end. Output - Wri","default_branch":null,"files":null,"tree":[],"storefront":"/r/vivek-v-rao","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vivek-v-rao/Yahoo-Option-Prices/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}