Legal? Who knows. If no money changes hands, and you're not running some kind of underground business, I don't think you have anything to worry about. If your "trades" are just thinly-veiled sales, you might have some trouble from the police if they get wind of the illicit business.