Backtrader Community

    • 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/

    Yahoo Data Feed

    General Code/Help
    1
    2
    146
    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.
    • theochenko
      theochenko last edited by

      Traceback (most recent call last):
      File "/Users/bognertheo/python/backtraderSMA.py", line 25, in <module>
      data = bt.feeds.YahooFinanceData(dataname='AAPL', fromdate=datetime(2020, 1, 1), todate=datetime(2022, 1, 1))
      TypeError: 'module' object is not callable

      Hi, can someone indicates me how to solve that issue ? I'm a fairly new user of bt.

      theochenko 1 Reply Last reply Reply Quote 0
      • theochenko
        theochenko @theochenko last edited by

        @theochenko this issue is solved but now when I'm downloading data it marks me : FileNotFoundError: [Errno 2] No such file or directory: 'AAPL'

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors