Add checks to new_trade views to prevent the same trade from being added more than once