He taught himself programming after work and coded his own automated trading system. The system was capable of trading during the day while he was at work.