NEW YORK (Reuters) - In December 2013, Hanmag Securities Corp, a small South Korean brokerage firm, lost 46 billion won ($42 million) in a day after a stock option trading algorithm went bad. It was a ...