[Python] Fetch Bitcoin Data Information through Pandas DataReader

Discussão em 'Python' iniciado por Stack, Setembro 3, 2025.

  1. Stack

    Stack Membro Participativo

    I am wanting to ask if Pandas DataReader may be used to extract Bitcoin information from blockchain.com ?

    I am aware we may use it together with Alpha Vantage API Key to extract stocks through:

    import pandas as pd
    import pandas_datareader as dr
    reader = dr.DataReader('AAPL', 'av-daily', start = '2020-08-01', end = '2020-08-05', api_key = '')
    print(reader)


    But may this same style of function/code be used to extract Bitcoin data? I know of one method but am not a big fan of it:

    cc = CryptoCurrencies(key='', output_format='pandas')
    btc, meta_data = cc.get_digital_currency_daily(symbol='BTC', market='CNY')
    print(btc)


    I am pretty new to coding and BTC so would appreciate something straightforward if possible, thank you !

    Continue reading...

Compartilhe esta Página