Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    error feeds yahoo finance

    General Code/Help
    2
    3
    43
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alex Shaw
      Alex Shaw last edited by

      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

      <backtrader.feeds.yahoo.YahooFinanceCSVData at 0x7f6380b2b860>
      

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

      1 Reply Last reply Reply Quote 0
      • Alex Shaw
        Alex Shaw last edited by

        i have installed backtrader first

        pip install backtrader[plotting]
        
        1 Reply Last reply Reply Quote 0
        • run-out
          run-out last edited by

          Can you include a sample of your data with headers?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
          $(document).ready(function () { app.coldLoad(); }); }