order.cleared_order
object doesn't get updated for replaced orders, when replacing with market.replace_order()
In screenshot you can see my partially matched original bet that gets replaced at lower price. order.cleared_order.profit
is all wrong and order.cleared_order
for a new bet is None