User Behavior Analysis and Data Trading in Multi-Agent Systems