The marked price took profit, but in that moment it was pulled back to the position of 0.42. As a result, the transaction price was settled at 0.42. Look at that K-line at 38 minutes.

Changing the take profit to the latest transaction price instead of the marked price can solve the issue.