Comments (3)
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.
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.
Yeah i started it again and after that it worked.
from jesse.
Related Issues (20)
- File "jesse_live\exchanges\LiveExchange.py", line 367, in jesse_live.exchanges.LiveExchange.LiveExchange._connect_ws._on_message HOT 15
- Precision Bug HOT 3
- Supporting Multiple Symbols For a Strategy Backtest HOT 1
- download link on the website are broken HOT 1
- install error For countries that do not meet the network conditions HOT 1
- [Live Mode] Session terminated as the result of an uncaught exception HOT 2
- After a position opened using different time window in order to check situation HOT 2
- There is no bitget example HOT 1
- Kraken data HOT 1
- Integrating Forex data from a Oanda API HOT 1
- linux/arm64 docker image HOT 4
- Live-trading plugin cannot be run on ARM platform HOT 1
- fee = config['env']['exchanges'][self.exchange]['fee']. KeyError: None HOT 2
- Add tradingview-webhook HOT 2
- get_cadles for > 1m routes does not work due to some legacy code HOT 1
- when running paper-trade mode, DELETE requests lead to unhandled exception (err 500) HOT 2
- wrong period starts for 45m candles in PAPERTRADE mode HOT 11
- Option Support HOT 2
- circular dependency with python 3.11 HOT 3
- Bug - link not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jesse.