A cancelled trade has no loss or profit, so I would see no problem with that solution.