Make me a bot, that sells microstrategy stock when it is high, and then purchases Bitcoin when it is low, write me the algorithm.