[Editor's note: Peter rewrote this article after a reader pointed out he over-engineered his original solution. ("What can I say: The code worked -- I just didn't need nearly as much code as I thought ...
James Chen, CMT is an expert trader, investment adviser, and global market strategist. Khadija Khartit is a strategy, investment, and funding expert, and an educator of fintech and strategic finance ...