For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

error feeds yahoo finance

  • hi there,

    i have uploading the yahooFinancecsv into colabs

    import backtrader as bt
    import backtrader.feeds as btfeeds
    data = btfeeds.YahooFinanceCSVData(dataname='BTC-USD.csv')
    cerebro = bt.Cerebro()
    cerebro.adddata(data)  # a 'name' parameter can be passed for plotting purposes

    and what i always get is the following error message

    < at 0x7f6380b2b860>

    is this right, i cant find any help on the internet

  • i have installed backtrader first

    pip install backtrader[plotting]

  • Can you include a sample of your data with headers?

Log in to reply