Hiji solusi hadé tinimbang ngagunakeun Yahoo Keuangan API bakal ngagunakeun Python perpustakaan yfinance. Anjeun bisa masang eta ngagunakeun "pip install yfinance" paréntah ti terminal. Saatos masang eta make kode ieu pikeun ngundeur data sajarah bitcoin salaku pandas.DataFrame. ngimpor yfinance salaku yf Stock = "BTC-USD" StartDate = "2020-01-01" EndDate = "2021-01-01" #Stock data periode moal ngandung dinten ditangtukeun dina EndDate StockData = yf.(downloadData Stock, StartDate, EndDate) The Data nyaeta tina tpye Stock pandas.Frame jeung ngandung data saham poean kalawan kolom: Tutup, Buka, Luhur, Low, Tanggal, AdjClose, Volume, ti 2020-01-01 ka 2020-12-31.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence