I'd like to add a note regarding that issue of stop orders seemingly not triggered.
....
What are you trying to say?
I observed several times when it looked as if stop orders weren't triggering, where, at first glance I thought they should have.
But when investigating closer (including data available via the API), it turned out to be correct.