I'm using the code provided in the 'betfair data science for python' section, and it returns the following error when there's a REMOVED horse in the race.
Index Error: list index out of range
this is the line that calls the function: runners_df = process_runner_books(market_book.runners)
if all the horses are ACTIVE there is no problem, but any status with REMOVED causes the error.
Index Error: list index out of range
this is the line that calls the function: runners_df = process_runner_books(market_book.runners)
if all the horses are ACTIVE there is no problem, but any status with REMOVED causes the error.


Comment