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/

    Live data error ValueError: min() arg is an empty sequence

    General Code/Help
    intraday live data
    1
    1
    162
    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.
    • SPECULARI FUND
      SPECULARI FUND last edited by

      2020-05-04, 22:03:35, Price 1.37
      2020-05-04, 22:03:37, Price 1.38
      2020-05-04, 22:03:40, Price 1.38
      2020-05-04, 22:03:49, Price 1.38
      2020-05-04, 22:03:51, Price 1.38
      2020-05-04, 22:04:01, Price 1.37
      2020-05-04, 22:04:03, Price 1.37
      2020-05-04, 22:04:04, Price 1.37
      2020-05-04, 22:04:05, Price 1.37
      2020-05-04, 22:04:06, Price 1.37
      2020-05-04, 22:04:08, Price 1.37
      2020-05-04, 22:04:09, Price 1.37
      2020-05-04, 22:04:13, Price 1.37
      2020-05-04, 22:04:18, Price 1.37
      2020-05-04, 22:04:21, Price 1.37
      2020-05-04, 22:04:23, Price 1.37
      2020-05-04, 22:04:24, Price 1.38
      2020-05-04, 22:04:25, Price 1.38
      2020-05-04, 22:04:40, Price 1.38
      2020-05-04, 22:04:44, Price 1.38
      2020-05-04, 22:04:54, Price 1.38
      2020-05-04, 22:04:56, Price 1.38
      2020-05-04, 22:04:58, Price 1.38
      Traceback (most recent call last):
      "/home/x777/anaconda3/envs/env_backtrader/lib/python3.6/site-packages/backtrader/cerebro.py", line 1130, in run
          runstrat = self.runstrategies(iterstrat)
        File "/home/x777/anaconda3/envs/env_backtrader/lib/python3.6/site-packages/backtrader/cerebro.py", line 1301, in runstrategies
          self._runnext(runstrats)
        File "/home/x777/anaconda3/envs/env_backtrader/lib/python3.6/site-packages/backtrader/cerebro.py", line 1560, in _runnext
          dt0 = min((d for i, d in enumerate(dts)
      ValueError: min() arg is an empty sequence
      

      After random time of running script falling. I saw similar error on forum, but not clear understand why it happens. Can anybody explain me? Thanks!

      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(); }); }