As a programming problem, chess is completely different from trading.
Chess has a fixed playing field, fixed inputs and a fixed set of rules. With enough processing power a computer can just apply brute force to look-ahead at every possible move it could make and counter-move its opponent...