Skip to content

FinanceData/FinanceDataReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FinanceDataReader

FinanceData.KR Open Source Financial data reader

2018-2024 FinanceData.KR

Overview

The FinanceDataReader is financial data reader(crawler) for finance.
The main functions are as follows.

  • KRX Stock listings (์‹œ์žฅ๋ณ„ ์ƒ์žฅ ์ข…๋ชฉ ๋ฆฌ์ŠคํŒ…): 'KRX', 'KOSPI', 'KODAQ', 'KONEX'
  • Global Stock Symbol listings(ํ•ด์™ธ ๊ฑฐ๋ž˜์†Œ ์ƒ์žฅ ์ข…๋ชฉ ๋ฆฌ์ŠคํŒ…): 'NASDAQ', 'NYSE', 'AMEX', 'S&P500', 'SSE'(์ƒํ•ด), 'SZSE'(์‹ฌ์ฒœ), 'HKEX'(ํ™์ฝฉ), 'TSE'(๋„์ฟ„)
  • KRX delistings: 'KRX-DELISTING'(์ƒ์žฅํ์ง€์ข…๋ชฉ), 'KRX-ADMINISTRATIVE' (๊ด€๋ฆฌ์ข…๋ชฉ), 'KRX-MARCAP'(์‹œ๊ฐ€์ด์•ก)
  • ETF Symbol listings: 'ETF/KR'
  • Stock price(๊ฐœ๋ณ„์ข…๋ชฉ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ): '005930'(Samsung), '091990'(Celltrion Healthcare) ...
  • Stock price(ํ•ด์™ธ ๊ฑฐ๋ž˜์†Œ ๊ฐœ๋ณ„์ข…๋ชฉ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ): 'AAPL', 'AMZN', 'GOOG' ... (you can specify exchange(market) and symbol)
  • Indexes: 'KS11'(์ฝ”์Šคํ”ผ์ง€์ˆ˜), 'KQ11'(์ฝ”์Šค๋‹ฅ์ง€์ˆ˜), 'DJI'(๋‹ค์šฐ์กด์Šค์ง€์ˆ˜), 'IXIC'(๋‚˜์Šค๋‹ฅ์ง€์ˆ˜), 'US500'(S&P 500์ง€์ˆ˜) ...
  • Exchanges: 'USD/KRW', 'USD/EUR', 'CNY/KRW' ... (์กฐํ•ฉ๊ฐ€๋Šฅํ•œ ํ™”ํ๋ณ„ ํ™˜์œจ ๋ฐ์ดํ„ฐ ์ผ์ž๋ณ„ ๋ฐ์ดํ„ฐ)
  • Cryptocurrency price data (์•”ํ˜ธํ™”ํ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ): 'BTC/USD', 'ETH/KRW' ...

Install

pip install finance-datareader

Quick Start

์ง€์›ํ•˜๋Š” ๊ฑฐ๋ž˜์†Œ: KRX(ํ•œ๊ตญ๊ฑฐ๋ž˜์†Œ), NYSE(๋‰ด์š•์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ), NASDAQ(๋‚˜์Šค๋‹ฅ), AMEX(์•„๋ฉ•์Šค), SSE(์ƒํ•ด), SZSE(์‹ฌ์ฒœ), HKEX(ํ™์ฝฉ), TSE(๋„์ฟ„)

import FinanceDataReader as fdr

# KOSPI Index ์ฝ”์Šคํ”ผ ์ง€์ˆ˜ ๋ฐ์ดํ„ฐ 
df = fdr.DataReader('KS11', '2020') # 2020-01-01 ~ ํ˜„์žฌ
df = fdr.DataReader('KS11', '2022-01-01', '2022-12-31') # 2022-01-01 ~ 2022-12-31

# KRX Indices ๊ตญ๋‚ด ์ง€์ˆ˜ ๋ฐ์ดํ„ฐ
df = fdr.DataReader('KS11') # KOSPI ์ง€์ˆ˜ (KRX)
df = fdr.DataReader('KQ11') # KOSDAQ ์ง€์ˆ˜ (KRX)
df = fdr.DataReader('KS200') # KOSPI 200 (KRX)

# US market Indices ๋ฏธ๊ตญ ์‹œ์žฅ ์ง€์ˆ˜ ๋ฐ์ดํ„ฐ
df = fdr.DataReader('DJI') # ๋‹ค์šฐ์กด์Šค ์ง€์ˆ˜ (DJI - Dow Jones Industrial Average)
df = fdr.DataReader('IXIC') # ๋‚˜์Šค๋‹ฅ ์ข…ํ•ฉ์ง€์ˆ˜ (IXIC - NASDAQ Composite)
df = fdr.DataReader('S&P500') # S&P500 ์ง€์ˆ˜ (NYSE)
df = fdr.DataReader('RUT') # ๋Ÿฌ์…€2000 ์ง€์ˆ˜ (RUT - US Small Cap 2000)
df = fdr.DataReader('VIX') # VIX์ง€์ˆ˜ (VIX - CBOE Volatility Index)

# Global Indices ๊ธ€๋กœ๋ฒŒ ์ง€์ˆ˜ ๋ฐ์ดํ„ฐ
df = fdr.DataReader('SSEC') # ์ƒํ•ด ์ข…ํ•ฉ์ง€์ˆ˜ Shanghai (SSEC -Shanghai Composite)
df = fdr.DataReader('HSI') # ํ•ญ์…์ง€์ˆ˜ (HSI - Hang Seng)
df = fdr.DataReader('N225') # ์ผ๋ณธ ๋‹›์ผ€์ด์ง€์ˆ˜ (N225 - Nikkei 225)
df = fdr.DataReader('FTSE') # ์˜๊ตญ FTSE100 (FTSE 100 - Financial Times Stock Exchange)
df = fdr.DataReader('FCHI') # ํ”„๋ž‘์Šค FCHI ์ง€์ˆ˜ (CAC 40 - CAC quarante)
df = fdr.DataReader('GDAXI') # ๋…์ผ ๋‹ฅ์Šค์ง€์ˆ˜  (DAX30 - germany-30)

# KRX stock price ๊ตญ๋‚ด ์‹œ์žฅ ๊ฐœ๋ณ„์ข…๋ชฉ
df = fdr.DataReader('005930') # ์‚ผ์„ฑ์ „์ž ์ „์ฒด (1999๋…„ ~ ํ˜„์žฌ)
df = fdr.DataReader('000660') # SKํ•˜์ด๋‹‰์Šค ์ „์ฒด (1999๋…„ ~ ํ˜„์žฌ)
df = fdr.DataReader('068270') # ์…€ํŠธ๋ฆฌ์˜จ ์ „์ฒด (2004๋…„ ์ƒ์žฅ ~ ํ˜„์žฌ)

# ์—ฌ๋Ÿฌ ์ข…๋ชฉ ์ข…๊ฐ€(Close) ํ•œ๋ฒˆ์—
# ์‚ผ์„ฑ์ „์ž(005930), SKํ•˜์ด๋‹‰์Šค(000660), ๊ธฐ์•„(000270), ์นด์นด์˜ค(035720), KB๊ธˆ์œต(105560)
df = fdr.DataReader('005930,000660,000270,035720,105560', '2020') # 2020๋…„ ~ ํ˜„์žฌ

# US stock price ๋ฏธ๊ตญ ์‹œ์žฅ ๊ฐœ๋ณ„์ข…๋ชฉ
df = fdr.DataReader('AAPL', '2017') # Apple(AAPL), 2017-01-01 ~ ํ˜„์žฌ
df = fdr.DataReader('AMZN', '2017', '2019-12-31') # AMAZON(AMZN), 2017~2019 (3๋…„)
df = fdr.DataReader('F', '1980-01-01', '2023-10-01') # Ford ์ž๋™์ฐจ(F) (40๋…„๊ฐ„)

# ์—ฌ๋Ÿฌ์ข…๋ชฉ ํ•œ๋ฒˆ์— ์ข…๊ฐ€(Close) ๋ฐ์ดํ„ฐ
df = fdr.DataReader('AAPL, TSLA, AMZN', '2020') # ์• ํ”Œ, ํ…Œ์Šฌ๋ผ, ์•„๋งˆ์กด (2020๋…„ ~ ํ˜„์žฌ)

# ๋ฐ์ดํ„ฐ ์†Œ์Šค ์ง€์ •ํ•˜๊ธฐ
df = fdr.DataReader('KRX:000150', '2020-01-01') # ๋‘์‚ฐ(000150) (ํ•œ๊ตญ๊ฑฐ๋ž˜์†Œ)
df = fdr.DataReader('NAVER:000150', '2020-01-01') # ๋‘์‚ฐ(000150) (๋„ค์ด๋ฒ„ ํŒŒ์ด๋‚ธ์Šค)
df = fdr.DataReader('YAHOO:000150.KS', '2020-01-01') # ๋‘์‚ฐ(000150) (์•ผํ›„ ํŒŒ์ด๋‚ธ์Šค)

# TSE (๋„์ฟ„์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ)
df = fdr.DataReader('TSE:7203', '2020-01-01') # Toyota Motor Corp ํ† ์š”ํƒ€ ์ž๋™์ฐจ(7203)
df = fdr.DataReader('TSE:9984', '2020-01-01') # SoftBank Group Corp ์†Œํ”„ํŠธ๋ฑ…ํฌ๊ทธ๋ฃน(9984)

# HOSE (ํ˜ธ์น˜๋ฏผ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ)
df = fdr.DataReader('HOSE:VCB', '2020-01-01') # ๋ฒ ํŠธ๋‚จ ๋ฌด์—ญ์€ํ–‰(VCB)
df = fdr.DataReader('HOSE:VIC') # Vingroup (JSC)

# ๊ธ€๋กœ๋ฒŒ ๋™์ผํ•œ ์ข…๋ชฉ์ฝ”๋“œ ๊ฒฝ์šฐ ๊ฑฐ๋ž˜์†Œ๋ฅผ ์ง€์ •
df = fdr.DataReader('000150', '2020-01-01') # ๋‘์‚ฐ:KRX ์ข…๋ชฉ (๊ธฐ๋ณธ:๋„ค์ด๋ฒ„ ํŒŒ์ด๋‚ธ์Šค)
df = fdr.DataReader('KRX:000150', '2020-01-01') # ๋‘์‚ฐ:KRX ์ข…๋ชฉ (ํ•œ๊ตญ๊ฑฐ๋ž˜์†Œ ๋ฐ์ดํ„ฐ)
df = fdr.DataReader('SSE:000150', '2020-01-01') # SSE 380 Dividend Index (์ƒํ•˜์ด ๊ฑฐ๋ž˜์†Œ)

# ์ƒํ’ˆ ์„ ๋ฌผ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
df = fdr.DataReader('CL=F') # WTI์œ  ์„ ๋ฌผ Crude Oil (NYMEX)
df = fdr.DataReader('BZ=F') # ๋ธŒ๋ ŒํŠธ์œ  ์„ ๋ฌผ Brent Oil (NYMEX)
df = fdr.DataReader('NG=F') # ์ฒœ์—ฐ๊ฐ€์Šค ์„ ๋ฌผ (NYMEX)
df = fdr.DataReader('GC=F') # ๊ธˆ ์„ ๋ฌผ (COMEX)
df = fdr.DataReader('SI=F') # ์€ ์„ ๋ฌผ (COMEX)
df = fdr.DataReader('HG=F') # ๊ตฌ๋ฆฌ ์„ ๋ฌผ (COMEX)

# ํ™˜์œจ: ์—ฌ๋Ÿฌ ์กฐํ•ฉ ๊ฐ€๋Šฅ(์ง€์› ์‹ฌ๋ณผ: ['KRW', 'EUR', 'CNY', 'JPY', 'CHF'])
df = fdr.DataReader('USD/KRW') # ๋‹ฌ๋Ÿฌ ์›ํ™”
df = fdr.DataReader('USD/EUR') # ๋‹ฌ๋Ÿฌ ์œ ๋กœํ™”
df = fdr.DataReader('USD/CNY') # ๋‹ฌ๋Ÿฌ ์œ„์—”ํ™”
df = fdr.DataReader('CNY/KRW') # ์œ„์—”ํ™” ์›ํ™”
df = fdr.DataReader('EUR/CNY') # ์œ ๋กœํ™” ์œ„์—”ํ™”

# ์•”ํ˜ธํ™”ํ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ (์›ํ™”, ๋‹ฌ๋Ÿฌ)
# (์ง€์› ์‹ฌ๋ณผ: ['BTC', 'ETH', 'USDT', 'BNB', 'USDC', 'XRP', 'BUSD', 'ADA', 'SOL', 'DOGE'])
df = fdr.DataReader('BTC/KRW') # ๋น„ํŠธ์ฝ”์ธ/์›ํ™”
df = fdr.DataReader('ETH/KRW') # ์ด๋”๋ฆฌ์›€/์›ํ™”
df = fdr.DataReader('BTC/USD') # ๋น„ํŠธ์ฝ”์ธ/๋‹ฌ๋Ÿฌ
df = fdr.DataReader('ETH/USD') # ์ด๋”๋ฆฌ์›€/๋‹ฌ๋Ÿฌ

# KRX delisting stock data ์ƒ์žฅํ์ง€ ์ข…๋ชฉ ์ „์ฒด ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
df = fdr.DataReader('KRX-DELISTING:036360') # 3SOFT(036360)

# ๋ฏธ๊ตญ ๊ตญ์ฑ„ ์ฑ„๊ถŒ ์ˆ˜์ต๋ฅ 
df = fdr.DataReader('US5YT')   # 5๋…„ ๋งŒ๊ธฐ ๋ฏธ๊ตญ๊ตญ์ฑ„ ์ˆ˜์ต๋ฅ 
df = fdr.DataReader('US10YT') # 10๋…„ ๋งŒ๊ธฐ ๋ฏธ๊ตญ๊ตญ์ฑ„ ์ˆ˜์ต๋ฅ 
df = fdr.DataReader('US30YT') # 30๋…„ ๋งŒ๊ธฐ ๋ฏธ๊ตญ๊ตญ์ฑ„ ์ˆ˜์ต๋ฅ 

# ์ข…๋ชฉ ๋ฆฌ์ŠคํŒ… (์ข…๋ชฉ์ˆ˜๋Š” 2022๋…„ 10์›” 25์ผ ๊ธฐ์ค€, ์‹œ์žฅ ๊ทœ๋ชจ ๊ฐ€๋Š  ์šฉ๋„)
# KRX ์ƒ์žฅํšŒ์‚ฌ(๋ฐœํ–‰ํšŒ์‚ฌ)๋ชฉ๋ก (๊ฐ€๊ฒฉ ์ค‘์‹ฌ, ์ฃผ์‹ ์ข…๋ชฉ) - ์‹œ๊ฐ€์ด์•ก์ˆœ
stocks = fdr.StockListing('KRX') # KRX: 2,663 ์ข…๋ชฉ(=์ฝ”์Šคํ”ผ+์ฝ”์Šค๋‹ฅ+์ฝ”๋„ฅ์Šค)
stocks = fdr.StockListing('KOSPI') # KOSPI: 940 ์ข…๋ชฉ
stocks = fdr.StockListing('KOSDAQ') # KOSDAQ: 1,597 ์ข…๋ชฉ
stocks = fdr.StockListing('KONEX') # KONEX: 126 ์ข…๋ชฉ

# KRX ์ „์ข…๋ชฉ ๋ชฉ๋ก (์„ค๋ช… ์ค‘์‹ฌ, ์ฃผ์‹+ํŽ€๋“œ๋“ฑ ์ „์ข…๋ชฉ)
stocks = fdr.StockListing('KRX-DESC') # ํ•œ๊ตญ๊ฑฐ๋ž˜์†Œ: 7,632 ์ข…๋ชฉ
stocks = fdr.StockListing('KOSPI-DESC') # KOSPI: 5,897 ์ข…๋ชฉ
stocks = fdr.StockListing('KOSDAQ-DESC') # KOSDAQ: 1,609 ์ข…๋ชฉ
stocks = fdr.StockListing('KONEX-DESC') # KONEX: 126 ์ข…๋ชฉ

# KRX ํŠน์ˆ˜ ์ข…๋ชฉ ๋ฆฌ์ŠคํŒ… (์ƒ์žฅํ์ง€ ์ข…๋ชฉ, ๊ด€๋ฆฌ์ข…๋ชฉ)
stocks = fdr.StockListing('KRX-DELISTING') # 3์ฒœ+ ์ข…๋ชฉ - ์ƒ์žฅํ์ง€ ์ข…๋ชฉ ์ „์ฒด
stocks = fdr.StockListing('KRX-ADMIN') # 50+ ์ข…๋ชฉ - KRX ๊ด€๋ฆฌ์ข…๋ชฉ

# US Market listings ๋ฏธ๊ตญ ์‹œ์žฅ ๊ฑฐ๋ž˜์†Œ๋ณ„ ์ „์ข…๋ชฉ ๋ฆฌ์ŠคํŒ…
stocks = fdr.StockListing('S&P500') # S&P500: 503 ์ข…๋ชฉ  
stocks = fdr.StockListing('NASDAQ') # ๋‚˜์Šค๋‹ฅ (NASDAQ): 4์ฒœ+ ์ข…๋ชฉ
stocks = fdr.StockListing('NYSE') # ๋‰ด์š•์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ (NYSE): 3์ฒœ+ ์ข…๋ชฉ

# Global Market listings ๊ธ€๋กœ๋ฒŒ ์‹œ์žฅ ๊ฑฐ๋ž˜์†Œ๋ณ„ ์ „์ข…๋ชฉ ๋ฆฌ์ŠคํŒ…
stocks = fdr.StockListing('SSE') # ์ƒํ•˜์ด ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ (Shanghai Stock Exchange: SSE): 1์ฒœ+ ์ข…๋ชฉ
stocks = fdr.StockListing('SZSE') # ์„ ์ „ ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ(Shenzhen Stock Exchange: SZSE): 1์ฒœ+ ์ข…๋ชฉ
stocks = fdr.StockListing('HKEX') # ํ™์ฝฉ ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ(Hong Kong Exchange: HKEX): 2์ฒœ5๋ฐฑ+ ์ข…๋ชฉ
stocks = fdr.StockListing('TSE') # ๋„์ฟ„ ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ(Tokyo Stock Exchange: TSE): 3์ฒœ9๋ฐฑ+ ์ข…๋ชฉ
stocks = fdr.StockListing('HOSE') # ํ˜ธ์ฐŒ๋ฏผ ์ฆ๊ถŒ๊ฑฐ๋ž˜์†Œ(Ho Chi Minh City Stock Exchange: HOSE): 4๋ฐฑ+ ์ข…๋ชฉ

# KRX ETFs
etfs = fdr.StockListing('ETF/KR') # ํ•œ๊ตญ ETF ์ „์ข…๋ชฉ

# FRED ๋ฐ์ดํ„ฐ
df = fdr.DataReader('FRED:M2') #  M2 ํ†ตํ™”๋Ÿ‰
df = fdr.DataReader('FRED:NASDAQCOM') # NASDAQCOM ๋‚˜์Šค๋‹ฅ์ข…ํ•ฉ์ง€์ˆ˜
df = fdr.DataReader('FRED:T10Y2Y') # ๋ฏธ๊ตญ ์žฅ๋‹จ๊ธฐ๊ธˆ๋ฆฌ์ฐจ (1980๋…„ ~)

# ๋‹ฌ๋Ÿฌ ์ธ๋ฑ์Šค
df = fdr.DataReader('^NYICDX') # ICE U.S. Dollar Index (^NYICDX) ๋‹ฌ๋Ÿฌ์ธ๋ฑ์Šค (1980~ํ˜„์žฌ)

# FRED ๋ฐ์ดํ„ฐ ์—ฌ๋Ÿฌ ํ•ญ๋ชฉ ํ•œ๋ฒˆ์— 
df = fdr.DataReader('FRED:M2,HSN1F,NASDAQCOM')  # M2 ํ†ตํ™”๋Ÿ‰, HSN1F ์ฃผํƒํŒ๋งค์ง€์ˆ˜, NASDAQCOM ๋‚˜์Šค๋‹ฅ์ข…ํ•ฉ์ง€์ˆ˜

#  KRX์ง€์ˆ˜๋ฐ ์ง€์ˆ˜ ๊ตฌ ์„ฑ์ข…๋ชฉ
df = fdr.SnapDataReader('KRX/INDEX/LIST') # KRX ์ „์ฒด ์ง€์ˆ˜๋ชฉ๋ก

df = fdr.SnapDataReader('KRX/INDEX/STOCK/1001') # KOSPI ์ง€์ˆ˜๊ตฌ์„ฑ์ข…๋ชฉ
df = fdr.SnapDataReader('KRX/INDEX/STOCK/1028') # ์ฝ”์Šคํ”ผ 200
df = fdr.SnapDataReader('KRX/INDEX/STOCK/5106') # KRX ESG Leaders 150 ํ…Œ๋งˆ ์ง€์ˆ˜ ๊ตฌ์„ฑ์ข…๋ชฉ

๋ฐ์ดํ„ฐ ์†Œ์Šค ์ง€์ •

# ์ง€์ •ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ (NAVER์—์„œ ๊ฐ€์ ธ์˜ค๋ฉฐ 2000๋…„ ์ดํ›„ ๋ฐ์ดํ„ฐ)
fdr.DataReader('000100') # (๊ธฐ๊ฐ„ ์ง€์ • ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ) 
fdr.DataReader('000100', '2023') # 2023๋…„ ~ ํ˜„์žฌ๊นŒ์ง€ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
fdr.DataReader('000100', '2023', '2024') # 2023๋…„ ๋ฐ์ดํ„ฐ

# KRX (2000๋…„ ์ด์ „ ๋ฐ์ดํ„ฐ ๊ฐ€๋Šฅ, ์ƒ์„ธํ•œ ์ถ”๊ฐ€ ํ•„๋“œ)
fdr.DataReader('KRX:000100') # 1995-05-02 ~ ํ˜„์žฌ (2๋…„๋‹จ์œ„๋กœ ๊ฐ€์ ธ์™€  ํ•ฉ์ณ์„œ ๋ฐ˜ํ™˜)
fdr.DataReader('KRX:000100', '2020') # 2020๋…„ ~ ํ˜„์žฌ๊นŒ์ง€ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
fdr.DataReader('KRX:000100', '1900') # ์ตœ๋Œ€ ๋ฐ์ดํ„ฐ (1995-05-02 ~ ํ˜„์žฌ๊นŒ์ง€)
fdr.DataReader('KRX:000100', '2023-09-23', '2024-12-31') # (๊ธฐ๊ฐ„ ์ง€์ •) 2๋…„ ๋‹จ์œ„๋กœ ๊ฐ€์ ธ์™€ ๋ณ‘ํ•ฉ

# NAVER (2000๋…„ ์ดํ›„ ๋ฐ์ดํ„ฐ)
fdr.DataReader('NAVER:000100') # 2000๋…„~ํ˜„์žฌ ๋ฐ์ดํ„ฐ
fdr.DataReader('NAVER:000100', '2023') # 2023๋…„ ~ ํ˜„์žฌ๊นŒ์ง€ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
fdr.DataReader('NAVER:000100', '2023', '2024') # 2023๋…„ ๋ฐ์ดํ„ฐ

# YAHOO
fdr.DataReader('YAHOO:000100.KS') # 2000๋…„ ์ดํ›„ ๋ฐ์ดํ„ฐ
fdr.DataReader('YAHOO:000100.KS', '2023') # 2023๋…„ ~ ํ˜„์žฌ๊นŒ์ง€ ๊ฐ€๊ฒฉ ๋ฐ์ดํ„ฐ
fdr.DataReader('YAHOO:000100.KS', '2023', '2024') # 2023๋…„ ๋ฐ์ดํ„ฐ

Using FinanceDataReader

Tutorials

FinanceDataReader Notebooks

2018-2024 FinanceData.KR