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

quandl dataset euronext error

  • Hello, I have a problem with quandl and the euronext dataset, here is my error message:

    Traceback (most recent call last):
      File "", line 241, in <module>
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 1127, in run
        runstrat = self.runstrategies(iterstrat)
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 1298, in runstrategies
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 1542, in _runnext
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 404, in next
        ret = self.load()
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 476, in load
        _loadret = self._load()
      File "/usr/local/lib/python3.6/dist-packages/backtrader/", line 707, in _load
        return self._loadline(linetokens)
      File "/usr/local/lib/python3.6/dist-packages/backtrader/feeds/", line 107, in _loadline
        o = float(linetokens[next(i)])
    IndexError: list index out of range

    here is my code:

    data = bt.feeds.Quandl(dataset='EURONEXT', dataname='FP', apikey='xxxxxx'

    Thank you in advance for your help

  • administrators

    The quandl data feed was done for the WIKI data (which is actually no longer being updated). Your best bet is to download the data to a "csv" file and load it from there.

  • thank you very much

Log in to reply