[Python] trying to get. historical data using robinhood api in python

Discussão em 'Python' iniciado por Stack, Março 16, 2025.

  1. Stack

    Stack Membro Participativo

    Am trying to get get_stock_historicals for a stock using robinhood API using python

    basic authentication is not working a i updated the account to MFA(multi factor. authentication), it sends a passcode to another device I have tried to remove mfa in Robinhood, but there is no such option now . have tried calling with public and private keys authentication with no luck.

    I am looking to overcome this


    1. either turn off MFA in Robinhood


    2. get_stock_historicals data using another option

    def HistoricalData(stock,interval,span='20weeks'):

    return rs.stocks.get_stock_historicals(stock,interval,span)

    Continue reading...

Compartilhe esta Página