-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting: list index out of range FAILURE INITIALIZE Restarting #28
Comments
Here is everything before the messages above: Binance Arbitrage Function Data Collection - Running List of Arbitrage Symbols: ['BNBBTC', 'BATBNB', 'BATBTC'] ARBITRAGE FUNCTIONALITY SUCCESSFUL - Data of Exchange Rates Collected Binance Arbitrage Function Data Collection - Running List of Arbitrage Symbols: ['BNBBTC', 'BCCBNB', 'BCCBTC'] FAILURE INITIALIZE Restarting |
I tried to edit out the try-except as you stated in the YouTube comments, but I am not a python coder:
try:
except:print("Restarting\n\n")Here is what I got the next time I ran it. List of Arbitrage Symbols: ['BNBBTC', 'BCCBNB', 'BCCBTC'] FAILURE INITIALIZE File "/Users/bradnickel/Documents/python-binance-master/examples/BinanceTriArbTrader.py", line 1059, in Process finished with exit code 1 |
The reason you are receiving that error is because 'BCC' , 'BCH' and a few other bitcoin forks get de-listed from binance or their code changes. Additionally, the try-except should look like this: try: |
You can see the updated 'try-except' code on line 554-556 of BinanceTriArbTrader.py This block of code will print out the raised error which helps greatly with debugging. |
Neither am I a programmer, but I'm trying to figure out: if it's just a code issue, if I replace BCC with its fork BCHABC, it should work? Why does it return the same error? |
Roibal, Is there an updated list for the list_of_symbols ? Thanks, |
In my github you have creator of list for every exchanges
Plin Martinez
Obtener BlueMail para Android
En 6 jun. 2020 6:04, en 6:04, bexstrom <[email protected]> escribió:
…Roibal,
Is there an updated list for the list_of_symbols ?
Thanks,
Ben
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#28 (comment)
|
list index out of range
FAILURE INITIALIZE
Restarting
What do I need to do to fix this?
The text was updated successfully, but these errors were encountered: