Thank you!!! Now we know why the orders are not sent, but... How to solve it? Or it cannot be solved?
Maybe sending a buystop instead of buylimit when the ask price is < than price_buy???
Maybe sending a buystop instead of buylimit when the ask price is < than price_buy???