UPDATE: Trading mechanics

It should work properly now. Please report any bugs.