Files
DeepStock/stock/StockCrawler.py
dosang.yoon e6408db76f init
2022-06-10 12:43:44 +09:00

6 lines
165 B
Python

# https://wikidocs.net/47452
from pykrx import stock
df = stock.get_market_ohlcv_by_date("20180101", "20180531", "005930")
mon = df.resample('M').first()
print(mon)