The three layers of trading automation pyramid - layer 1 trading system - layer 2 backtesting - layer 3 order execution