Yahoo Finance API dan foydalanish o'rniga yaxshiroq yechim Python kutubxonasi yfinance-dan foydalanishdir. Siz uni terminaldan "pip install yfinance" buyruqidan foydalangan holda o'rnatishingiz mumkin. Uni o'rnatgandan so'ng ushbu koddan foydalanib, bitcoin tarixiy ma'lumotlarini pandas.DataFrame sifatida yuklab olish. yfinance sifatida import qiling yf Stock = "BTC-USD" StartDate = "2020-01-01" EndDate = "2021-01-01" #Stock ma'lumotlar davri EndDate StockData = yf. ((downloadStock, StartDate, EndDate) da ko'rsatilgan kunni o'z ichiga olmaydi StockData obyekti tpyeas.DataFrame va ustunlar bilan kundalik aktsiya ma'lumotlarini o'z ichiga oladi: Sana, Ochiq, Yuqori
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence