When i try to use execute_sale transactio falis and it throws this error
"Timed out awaiting confirmation on transaction"
I input
The "index out of bounds" happens when execute_sale function cannot find a matching buy and sell order to execute the sale.
To make sure that execute_sale works, you need the following:
when the above conditions are met, execute_sale will work. If execute_sale is unable to find a matching sell/buy order pair, then you will receive the not-so-helpful index out of bounds error.