Advertisement
Guest User

index out of range

a guest
Jan 23rd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. 2018-01-23 22:06:04 Error list index out of range
  2. Traceback (most recent call last):
  3. File "lendingbot.py", line 94, in <module>
  4. Lending.lend_all()
  5. File "/home/minty/modules/Lending.py", line 249, in lend_all
  6. lend_all()
  7. File "/home/minty/modules/Lending.py", line 249, in lend_all
  8. lend_all()
  9. File "/home/minty/modules/Lending.py", line 247, in lend_all
  10. usable_currencies += lend_cur(cur, total_lent, lending_balances, ticker)
  11. File "/home/minty/modules/Lending.py", line 418, in lend_cur
  12. orders = construct_orders(active_cur, active_bal, active_cur_total_balance, ticker) # Build all potential orders
  13. File "/home/minty/modules/Lending.py", line 319, in construct_orders
  14. top_rate, bottom_rate = get_gap_mode_rates(cur, cur_active_bal, cur_total_balance, ticker)
  15. File "/home/minty/modules/Lending.py", line 373, in get_gap_mode_rates
  16. top_rate = get_gap_rate(cur, top_depth, order_book, cur_total_balance, True)
  17. File "/home/minty/modules/Lending.py", line 306, in get_gap_rate
  18. return Decimal(order_book['rates'][i])
  19. IndexError: list index out of range
  20.  
  21. fatal: Not a git repository (or any of the parent directories): .git
  22. v3.0.0 Unhandled error, please open a Github issue so we can fix it!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement