A stock market trade bot written in scala