Refactoring trade.interface

possible not work