STAHP! This is a quick and dirty way to implement some basic trading algorithms.