Closed JCBauza closed 6 years ago
I have something very similar:
Dec 01 12:04:34 tyr.---.com python[933]: orders = construct_orders(active_cur, active_bal, active_cur_total_balance, ticker) # Build all potential orders
Dec 01 12:04:34 tyr.---.com python[933]: File "/home/---/Crypto/poloniexlendingbot/modules/Lending.py", line 319, in construct_orders
Dec 01 12:04:34 tyr.---.com python[933]: top_rate, bottom_rate = get_gap_mode_rates(cur, cur_active_bal, cur_total_balance, ticker)
Dec 01 12:04:34 tyr.---.com python[933]: File "/home/---/Crypto/poloniexlendingbot/modules/Lending.py", line 373, in get_gap_mode_rates
Dec 01 12:04:34 tyr.---.com python[933]: top_rate = get_gap_rate(cur, top_depth, order_book, cur_total_balance, True)
Dec 01 12:04:34 tyr.---.com python[933]: File "/home/---/Crypto/poloniexlendingbot/modules/Lending.py", line 306, in get_gap_rate
Dec 01 12:04:34 tyr.---.com python[933]: return Decimal(order_book['rates'][i])
Dec 01 12:04:34 tyr.---.com python[933]: IndexError: list index out of range
Dec 01 12:04:34 tyr.---.com python[933]: v312
Dec 01 12:04:34 tyr.---.com python[933]: Unhandled error, please open a Github issue so we can fix it!
Can it be out of memory?
Usually happens when there's an exception connecting to the exchange and we don't get any data.
Needs looked at
Duplicate of #566