Are Trading Bots Legal: Understanding Automated Trading Regulations