Python library: yfinance

Download market data from Yahoo! Finance's API

Table of Contents

24 Jan 2022

Use in Cryptee, my crypto tracking system.

Library resources
PyPI https://pypi.org/project/yfinance/
Github ---
Documentation ---

Getting Started

pip install yfinance

Usage

import yfinance as yf

tickers = yf.Tickers('msft aapl goog')

# access each ticker using (example)
tickers.tickers['MSFT'].info
tickers.tickers['AAPL'].history(period="1mo")
tickers.tickers['GOOG'].actions

links

social