A short story on how to use trading engine flaws to benefit large $.
This particular strategy I created around bitmexs liquidation algorithm and a few order types allowed for maximize your upside with limited downside risk.
These types of exchange flaws can be found in so many unusual spots so keep an eye out.
This strategy doesn't work anymore as Bitmex has changed how some of the order types work and thus is useless but it's still a good look into how to think about such a strategy.
The fact that you could use a close order combined with a post only order with no restriction on how small order could be given that you still had the opposing side posi on, this allowed for quite an easy way to manipulate a liquidation engine that was very basic at the time.
Combine all of the above, coupled with an understanding that the liquidation bot used to go x amount of $ in x seconds as long as the liquidation was still there, you could post only a close order for slightly beneath/above that x tick amount
This means that if the liquidation still had a lot left in the tank then your order of post only would get rejected as the market would already be past that point but if the order goes through you would 9/10 times get the very very top of a liquidation run.
So in practice you never had "tp along the way" but could TP the whole portion of your directional trade at the very very top/bottom. This abuse of engine all stems from how Close orders and post only orders interact with the engine and manipulated during times of large liqs.