changed some stuff

Fixed autocancel() to revert back to previous
And now if the is a buy there can only be a sell
Added minimum profit to sell threshold