Are you pulling your txid from the chain or internal memory? I still don't really understand this stuff, but I do see a ton of failed tx still like this one. So if that order is later canceled it would fail. I am guessing all the magic of the json data is done in dependencies like beem or nectar.engine.
success, txid, error = cancel_order(account_name, order_id)
is that putting the correct order type in the json sent to chain? The Docs that below is the data needed to cancel an order.
{
"contractName": "market",
"contractAction": "cancel",
"contractPayload": {
"type": "sell",
"id": "1b7e32719b76f07e144d15c8d3045545b896e90b"
}
}
feel free to laugh at me because I know I am still missing a ton of knowledge to make stuff work. Anyway gl, thanks for sharing again.