buy/sell algorithm works.
code runs. functions and classes documented.