Trade backend and unit test finished