I want to be able to use swap function in trade window