Giter Club home page Giter Club logo

Comments (3)

cryptocoinserver avatar cryptocoinserver commented on May 14, 2024

Also got this error after:
jesse import-candles Bitfinex BTCUSD 2016-01-01
but in this case at 99%

Importing 1579 days candles from "Bitfinex" for "BTCUSD". Maximum time it'll take to finish:"26.33 minutes" (duplicates will be skipped). All good? [Y/n]: Y
Importing candles...  [###################################-]   99%  00:00:00
============================== EXCEPTION TRACEBACK:
  File "/usr/local/bin/jesse", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/jesse/.local/lib/python3.8/site-packages/jesse/__init__.py", line 250, in import_candles
    import_candles_mode.run(exchange, symbol, start_date)
  File "/home/jesse/.local/lib/python3.8/site-packages/jesse/modes/import_candles_mode/__init__.py", line 74, in run
    candles = driver.fetch(symbol, temp_start_timestamp)
  File "/home/jesse/.local/lib/python3.8/site-packages/jesse/modes/import_candles_mode/drivers/bitfinex.py", line 76, in fetch
    'volume': d[5]
=========================================================================

 Uncaught Exception: IndexError: string index out of range

from jesse.

0xVox avatar 0xVox commented on May 14, 2024

I failed to reproduce this.

It's quite possible Bitfinex didn't report volume correctly (or at all) on the final candle - but I can't get the API to do that on my end. In any case - it looks like you probably have all of the data, bar the final 1m candle loaded into your DB and other functionality that relies on this data will still be accurrate.

from jesse.

cryptocoinserver avatar cryptocoinserver commented on May 14, 2024

Yeah i started it again and after that it worked.

from jesse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.