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

Forex Backtest with Quandl

  • Hello,

    Does anyone have an example of getting forex data from Quandl? I've tried getting the data with 'CUR/EUR' as the dataset and I get:

    File "C:\Users\dx\AppData\Local\Programs\Python\Python35-32\lib\site-packages
    backtrader\", line 692, in preload
    AttributeError: 'NoneType' object has no attribute 'close'

    I pass the data with:

    data = bt.feeds.Quandl(
    fromdate = fd,
    todate = td,
    buffered= True

    It works with stocks--any ideas?


  • Hi, i did not check the following so it may be wrong, but it seems, the symbol is not available completely on quandl. i looked for the data here:

    the data only has a close price, no other data available. backtrader will look for ohlc values i believe. There was a few months also some questions about quandl here in this forum with similar issues.

Log in to reply

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.